[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 175
  • Last Modified:

make a button go down

Hi
How do I make a button go down when I press a key om the keyboard?
I want to know how to make it seem like the button is pressed.
I know that it is possible to do this with a panel, but it does not seem to have a taborder or so, which I need.
also:
Is et posiple to make a radiogroup transperent?
thanks
0
jeabp
Asked:
jeabp
  • 3
1 Solution
 
jeabpAuthor Commented:
Edited text of question.
0
 
jeabpAuthor Commented:
Adjusted points to 30
0
 
Paul SinnemaCommented:
PostMessage ( Button.Handle, WM_LBUTTONDOWN, 0, 0 );
0
 
jeabpAuthor Commented:
I have now tried that and it was not that effective. insted i tried : sendmessage(Button1.Handle, WM_LBUTTONDOWN, 0, 0 );
Sleep(100).
That works ok.

0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now