Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Browse window & Control-Y
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00920191
Message ID:
00920659
Views:
17
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
Map
View

Click here to load this message in the networking platform