by MarcoBoschi » Tue May 11, 2010 8:21 am
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL oGet1, cVar1 := SPACE( 10 )
REQUEST HB_GT_GUI_DEFAULT // for tone usage
DEFINE DIALOG oDlg
@ 1 , 1 GET oGet1 VAR cVar1 OF oDlg
// oGet1:bKeyChar = { || tone(100,.1) }
oGet1:bKeyChar = { || messagebeep() }
ACTIVATE DIALOG oDlg CENTER
RETURN NIL