Results 1 to 6 of 6

Thread: I need to make a command button that has no borders.

  1. #1

    Thread Starter
    Addicted Member Daniel_Christie's Avatar
    Join Date
    Jan 2000
    Location
    USA
    Posts
    245

    Post

    I need to make a command button that has no borders. This way I can make it blend into my app's background. I had turned off the 3D to flat but this is not what I need. How do I, using vb5, make a command button without borders. (What I mean is I don't want the 3D looking border just one that is a flat loking so it can be easily blended into a background.)

    Thank in advance,
    Daniel

  2. #2
    Guest

    Post

    Can you use a label and make it have code like a command button?

    ------------------
    Boothman
    There is a war out there, and it is about who controls the information, it's all about the information.


  3. #3
    Hyperactive Member
    Join Date
    Jan 1999
    Location
    Rotterdam, Netherlands
    Posts
    386

    Post

    Search yahoo for axButton, you'll find a link pretty soon (I don't know the url else i would put it in here...)
    That's a very kewl button control... flat, of course :-)

  4. #4
    Hyperactive Member
    Join Date
    Nov 1999
    Posts
    363

    Post

    Daniel,
    If you want a centered label, you can use the following:

    Code:
    With Label1
    .Alignment = 2
    'Adjust the number of carriage returns  according to how big your label is vertically
    .Caption = Chr(13) & Label1
    End With
    Wade

    [This message has been edited by WadeD (edited 02-15-2000).]

  5. #5
    New Member
    Join Date
    Apr 1999
    Posts
    13

    Post

    You could always try using an image control. You can put code in the click command for these and they can be as good as invisible.

    HTH

    Ell

  6. #6

    Thread Starter
    Addicted Member Daniel_Christie's Avatar
    Join Date
    Jan 2000
    Location
    USA
    Posts
    245

    Post

    Bothman7, ya I had thought about using a lable but the title would not center like a command button would. Crazy D, thanks for the tip.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width