Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Valid Event
Message
 
 
To
30/06/2011 14:26:16
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01516901
Message ID:
01516904
Views:
70
* 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--
Previous
Reply
Map
View

Click here to load this message in the networking platform