Dear Antonio,
how can we use SWITCH with keyboard.
Thanks in advance
Otto
Dear Antonio,
how can we use SWITCH with keyboard.
Thanks in advance
Otto
Dear Otto,
What is SWITCH ? I don't understand what you mean.
Could you provide an example ? thanks
@ nRowOffset + nRowSpace * nLine, nColBeschreibung + nSpalte ;
SWITCH oNewsletter ;
VAR lNewsletter ;
SIZE 16 ,16 ;
PIXEL ;
OF oDlg ;
ON CHANGE ( oDlg:Update()) ;
UPDATE
Otto,
You can use the space key to toggle the SWITCH value
Dear Antonio,
yes it is working in touch.prg.
In my program it is not working.
I use it on a Dialog could that be the problem.
Best regards,
Otto
oSwitch:bKeyDown := { |k| If( k == 32, oSwitch:Click(), nil ) }