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.