Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Doc form in _screen
Message
 
À
27/05/2005 13:25:27
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01018174
Message ID:
01018214
Vues:
10
Run the following code...
PUBLIC X, Y, Z
x = CREATEOBJECT("form")
x.caption = "Form1"
x.dockable = 1
x.dock(1)

y = CREATEOBJECT("form")
y.caption = "Form2"
y.dockable = 1
y.dock(4, x)

z = CREATEOBJECT("form")
z.caption = "Form3"
z.dockable = 1
z.dock(4, x)
>Hi Craig,
>
>What I was wanting to do was doc several forms on the _screen and have tabs show on the bottom. I have a form called test dockable = 1.
>
>test.dock(0,_screen) does nothing.
>test.dock(0) works
>test2.dock(0) docks below the test form.
>
>Thanks for your help.
>
>
>>Set dockable property of the form to 1, and then call the dock method with the parameters you want... position and form object to dock to. Otherwise you can just drag the dockable form with your mouse and dock it on the top, bottom, left, right, tab dock it with another dockable form, etc.
>>>Hi All
>>>
>>>Is there a way to dock a form in the foxpro _screen? I can't seem to make it work.
>>>
>>>Thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform