Results 1 to 6 of 6

Thread: Check Button

  1. #1

    Thread Starter
    Hyperactive Member gravyboy's Avatar
    Join Date
    Jan 2000
    Location
    Where I was before . . . if you don't know then you're new!
    Posts
    334

    Angry

    I think there is a way of having a command button act as a check button ie it remains depressed when clicked. Trouble is I can't remember it!
    Matt G
    VS6 Ent SP5 @ Work
    VS6 Ent SP5 & VB.Net @ Home
    [email protected]



  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    Command1.Enabled = False


    Hope that's what you meant,
    D!m
    Dim

  3. #3
    Lively Member
    Join Date
    Jul 2000
    Location
    Vaxjo, Sweden
    Posts
    85
    "it remains depressed when clicked"
    Theraphy?

    But seriously. You could use a check box and then set the style property to graphical. This way it'll look like a button, and act just this way.

    //Anders

  4. #4

    Thread Starter
    Hyperactive Member gravyboy's Avatar
    Join Date
    Jan 2000
    Location
    Where I was before . . . if you don't know then you're new!
    Posts
    334

    Umm.....

    Godamm I took so long to write a reply to myself!

    [Edited by gravyboy on 07-14-2000 at 03:47 AM]
    Matt G
    VS6 Ent SP5 @ Work
    VS6 Ent SP5 & VB.Net @ Home
    [email protected]



  5. #5
    Lively Member
    Join Date
    Jul 2000
    Location
    Vaxjo, Sweden
    Posts
    85
    ... but it looks like you already knew that. I'd better read the posts properly next time, eh?

    //Anders

  6. #6
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    I'm still confused but...
    If you are trying to make a command button that looks like a check box you would have to take a screenshot of the check box, save it as a pic and then set it as the picture property of the command button and set the style of the button to graphical.
    Then when the command buttons is pressed, have the picture property change to a different pic of the check box (where it looks like it's selected.

    But this is a mess...why not just enlarge the Checkbox and set it's Apperance to 3D and put a border around it using the lines.

    I hope i understoon you correctly.

    Gl,
    D!m
    Dim

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