Is it possible to modify the behavior of the Get\Action to be able to accept the <enter> key to fire the action command as well as being able to click the button inside the Get.
I like the ability to have a button inside the Get, ( vs an external button ) but one of my software testers prefers a keyboard action vs taking their hands off the keyboard to reach over and click the mouse to fire the action.
Any advice would be appreciated.
Thanks
Rick Lipkin
- Code: Select all Expand view
#Include "FiveWin.Ch"
Function Main()
Local oDlg
Local oGet
local cVar := space( 10 )
DEFINE DIALOG oDlg from 0,0 to 400,400 pixel
@ 15,15 get oGet var cVar picture "@!" bitmap "..\bitmaps\chkyes.bmp" action( msginfo( "action" ) );
size 120,12 of oDlg pixel
oGet:lAdjustBtn := .t.
ACTIVATE DIALOG oDlg
return nil