Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditionaly Form Release
Message
 
 
À
28/07/2004 10:26:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00928710
Message ID:
00928718
Vues:
21
You can use Thisfor.Activecontrol to find out whick control has focus.

>
>I am using VFP6. To relase forms I use following codes on form's keypress event
>
>
>IF LASTKEY()=27 && escape
>	RELEASE THISFORM
>ENDIF
>
>
>Now I want to release form with conditions e.g.
>
>Condition No.1
>
>if control/cursor is in grid and user press esc key then the form must not release.
>
>Contition No.2
>
>if control/cursor is not in grid and user press esc key then the form must release.
>
>What should I do more to apply above conditions.
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform