I'd one problem with grid when I press "Enter Button" in text1 under columns 3 simply doesn't fires anythings because grid doesn't
support keypress event at all.
How to make it to works if I directly define procedure in .PRG ? I'm doing under VFP6.0 not VFP9.0.
and however I don't want add user-define class textbox by using removeobject to remove existing text1 in columns 3 and then addobject with another customised class object
having keypress procedure defined inside class as well.
This code is under my main.PRG :
procedure _screen.activeform.activecontrol.columns(3).text1.keypress
LPARAMETERS nKeyCode, nShiftAltCtrl
if nKeyCode = 13
Wait windows "You have press Enter Button" Nowaits --->How to make it work if place grid's text1 control's procedure at inside .PRG.
endif
Endpro
Appreciate Thankfuls to anyone could help.
support keypress event at all.
How to make it to works if I directly define procedure in .PRG ? I'm doing under VFP6.0 not VFP9.0.
and however I don't want add user-define class textbox by using removeobject to remove existing text1 in columns 3 and then addobject with another customised class object
having keypress procedure defined inside class as well.
This code is under my main.PRG :
procedure _screen.activeform.activecontrol.columns(3).text1.keypress
LPARAMETERS nKeyCode, nShiftAltCtrl
if nKeyCode = 13
Wait windows "You have press Enter Button" Nowaits --->How to make it work if place grid's text1 control's procedure at inside .PRG.
endif
Endpro
Appreciate Thankfuls to anyone could help.