Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Browse window & Control-Y
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00920191
Message ID:
00920659
Vues:
18
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform