trying to click a button on a dialog..
oInternetButton is a DCPUSHBUTTON
F9 is working; wtf pops up..
but, the button is not clicked..
suggestions ??
DCHOTKEY xbeK_F9 ;
ACTION {||(wtf 'here'). PostAppEvent(xbeM_LbClick,,,oInternetButton)} ;
GROUP 'HOTKEYS'
send hotkey to mouseclick
send hotkey to mouseclick
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
breadmanbrian@bsky.social
http://www.breadmanrises.com
FB travel group: The Breadman Rises
Retired and traveling around the country to music festivals in my RV.
breadmanbrian@bsky.social
http://www.breadmanrises.com
FB travel group: The Breadman Rises
-
- Posts: 494
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: send hotkey to mouseclick
Try it with PostAppEvent( xbeP_Activate,,, oInternetButton ) .
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
Re: send hotkey to mouseclick
ding! ding! ding! We have a winner!!!Wolfgang Ciriack wrote:Try it with PostAppEvent( xbeP_Activate,,, oInternetButton ) .
I was in the right church., just the wrong pew..
thanks so much..
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
breadmanbrian@bsky.social
http://www.breadmanrises.com
FB travel group: The Breadman Rises
Retired and traveling around the country to music festivals in my RV.
breadmanbrian@bsky.social
http://www.breadmanrises.com
FB travel group: The Breadman Rises
Re: send hotkey to mouseclick
Hi,
I use the ACCELKEY clause, this works for me
regards
Rudolf
I use the ACCELKEY clause, this works for me
regards
Rudolf
Re: send hotkey to mouseclick
You don't need to send events to a pushbutton if you want the button's action to be initiated. Just do this:
This will evaluate the action codeblock of the button, as if the button was clicked.
Code: Select all
Eval(oButton:Activate)
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."