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!
Printable View
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!
Command1.Enabled = False
Hope that's what you meant,
D!m
"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
Godamm I took so long to write a reply to myself!
[Edited by gravyboy on 07-14-2000 at 03:47 AM]
... but it looks like you already knew that. I'd better read the posts properly next time, eh?
//Anders
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