Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check Form Mode - Design vs Run
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01249057
Message ID:
01249072
Views:
21
Hi Craig,

>Does anyone know of a way to ascertain in code whether a form is currently in design-mode or is being run inside the VFP IDE?

When you have an object reference, you can use SYS(1272) to find out if the reference points to a running object (get back a string) or an object in design mode (raises error). Wrapping this in TYPE() should deal with the error.
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform