Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pointer to Form in Design Mode?
Message
 
 
To
03/02/1999 14:48:23
Kenneth Downs
Secure Data Software, Inc.
New York, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00183586
Message ID:
00183727
Views:
17
Ken,

You can use the olf windows functions like wchild() to find the design surfaces. Then you can ACTIVATE WINDOW to activate it, and ASLEOBJ(,1) to get a reference to the form itself.

>If anyone can help:
>
>I know that when a form is open in design mode, it exists as an object, because ASELOBJ() when called in a builder can return a pointer to it.
>
>What I'm wondering is, is there a way to obtain a pointer to a form which is open in design mode programmatically, something like:
>
>MODI FORM MyForm
>oForm = **Some command to get pointer to that open form
>DO MyBuilder WITH oForm
>
>I have dug through _Screen object and cannot find anything referring to forms open in design mode. Does anyone know of a back door to get at this?
>
>As always, TIA.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform