Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Valid Event
Message
 
 
À
30/06/2011 14:26:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01516901
Message ID:
01516904
Vues:
71
* Valid
IF LASTKEY() = 13
  RETURN NOT EMPTY(This.Value)
ENDIF
>
>I want to execute following procedure for text1
>I have following codes on keypress event
>
>
>Do Case
>Case m.nkeycode == 27
>
>	Nodefault
>	Thisform.themedtitlepageframe1.themedtitlepage15.ZOrder(0)
>	Thisform.themedtitlepageframe1.Visible= .F.
>
>Case m.nkeycode == 13
>
>	If Empty(This.Value)
>		Return.F.
>	Else
>		Return.T.
>	ENDIF
>	
>Endcase
>
>
>In second case means Case m.nkeycode == 13
>return.f. or return.t. does not work
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform