Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I know if the Form.ActiveControl exist?
Message
 
To
29/07/1999 12:23:23
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00247747
Message ID:
00247786
Views:
21
>In my form.refresh() method I need to check ActiveControl. The problem is when I start the form the ActiveControl dosn't exist. Is there a way to check if the ActiveControl exists?
>
>/Mårten Törnquist

Mårten,

Try this;
* Form refresh
IF TYPE("Thisform.ActiveControl.Name") = "C"
   * It exists

ELSE
   * It doesn't

ENDIF
Previous
Reply
Map
View

Click here to load this message in the networking platform