Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Method Code During Runtime
Message
From
20/03/2003 10:43:29
 
 
To
20/03/2003 07:56:26
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00767989
Message ID:
00768090
Views:
25
This message has been marked as the solution to the initial question of the thread.
You could add a property to the form, let say Foo. In the InteractiveChange event, you assign .T. or .F. to this property. Then you could put this code in the LostFocus:
IF ThisForm.Foo
   NODEFAULT
ENDIF
HTH

>Is there a way to assign code to the LostFocus of an object during runtime? I have a conditional statement that I want to use in the InteractiveChange method that would set the LostFocus to "NODEFAULT" or "" depending
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform