Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pointer to Form in Design Mode?
Message
De
03/02/1999 15:07:02
 
 
À
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:
00183599
Vues:
15
>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.

You can try:
FOR EACH oForm IN _SCREEN.Forms
 IF oForm.Name="MyFormName"
  DO MyBuilder With oForm
  RETURN
 ENDIF
ENDFOR
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform