General information
Category:
Forms & Form designer
Hi Yuri, thanks for your code example, i got your idea. i just thought there is an easier way to do that...
David
>>>>>
It depends. Probably you need to:
set sysmenu to default
Also you may add the piece like:
.....
ON KEY LABEL CTRL+T iont("T")
ON KEY LABEL CTRL+Y iont("Y")
......
*---------------
PROCEDURE iont
LPARAMETERS _key
LOCAL lccom
IF NOT EMPTY(ALIAS())
DO case
CASE _key="T"
lccom=IIF(DELETED(),"recall", "delete")
CASE _key="Y"
lccom="append blank"
OTHERWISE
lccom=""
endcase
&lccom
endif
>I have a browse window (by running the BROWSE command) which allow adding and deleting of record using Control-Y and Control-T respectively when it is run in the IDE mode. But when I compiled the project into an EXE and run it, the browse window does not take Control-Y and Control-T any more.
>
>Any help appreciated in making the control keys work.
>
>Thanks,
>David Fung
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only