Can a button be activated via a keyboard shortcut instead via mouse ? For example: Alt-N (next). Thank you.
Can a button be activated via a keyboard shortcut instead via mouse ? For example: Alt-N (next). Thank you.
Through Code :
@ 15,15 BUTTON "&Next" SIZE 35, 12 ;
ACTION MsgInfo( "Any action here!" ) DEFAULT
or
Through Resources :
REDEFINE BUTTON PROMPT "&Next" ID 120 OF oDlg
ACTION oPags:GoPrev()Rameshbabu:
Thank you for the tip, but I need it for a dialog button.
>>but I need it for a dialog button.SET KEY VK_NEXT TO Your_Function".Regards,
Michel D.
Genk (Belgium)
I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773
Thank you guys, problem solved with the &. ![]()