Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pointer to Form in Design Mode?
Message
 
 
À
03/02/1999 14:48:23
Kenneth Downs
Secure Data Software, Inc.
New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00183586
Message ID:
00183727
Vues:
18
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform