Click here to Skip to main content
15,892,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi.
I wonder if it is possible to press a Button that visually goes down and up by code?
I´ve been googling and find a lot of click events, but they don´t create a visual press down of the button on the form.

Best Per.
Posted
Updated 22-Aug-12 0:40am
v2

You can use a checkbox instead of a button and set it's Appearance[^] to look like a button. It's checked state will then appear to be pressed.
 
Share this answer
 
Comments
ridoy 22-Aug-12 6:41am    
like it..+5
pluss400 22-Aug-12 13:54pm    
Very nice. But the button also has to work like a normal button I can click on with the mouse. I got 18 of those buttons.
Best Per.
I have looked in to it, and found som interesting answers. Quit a lot of peaple use WIN 32 GUI´s to get in to a lover and more manuverable kod. But this way is unmanage by CLR.
Any one have experience of using unmanage kod. Do it create problems?
Best Per
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900