by dutch » Thu Nov 17, 2005 6:13 pm
Dear EMG,
Thank you very big again and I've got big problem with TSbutton now. When I use Alt+s for "&Save" the problem is the valid on TGET is skiped. It means any function on TGET Valid do nothing. How can I fix it?
Sorry to disturb you but It is my big problem because I use a lot TSbutton in my program.
#include 'Fivewin.ch'
#include 'Tsbutton.ch'
Static oDlg
Procedure Main
local oGet, oBtn, cVar
cVar := 0
DEFINE DIALOG oDlg FROM 0, 0 TO 10, 30 TITLE 'Test TSbutton'
@ 1, 1 GET oGet VAR cVar SIZE 30,12 PIXEL Valid (cVar>0)
@ 40,50 SBUTTON oBtn PROMPT '&Test' ;
SIZE 30, 20 ;
PIXEL ;
ACTION MsgInfo(' Test ')
ACTIVATE DIALOG oDlg CENTER
return
Thanks&Regards,
Dutch