Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShowWindow at RunTime
Message
De
11/11/2019 09:14:01
 
 
À
11/11/2019 02:51:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01671819
Message ID:
01671830
Vues:
63
>>Create two forms, with one having ShowWindow = 2, and the other whatever it is otherwise, and then when they click the "Dock Out" button, launch the other form with a reference to thisForm, and let it copy over all the data on that form and then issue a toParentForm.Visible = .f..
>>
>>When they "Dock Back" or whatever, update the toParentForm's properties and data, and then set toParentForm.Visible = .t., and then release thisForm.
>>
>>Depending on what data you have on the form this can be easy or hard. :-)
>Yes, for one oder two Froms i've made them save as class, and then in the Form i set the Property.
>But this is a lot of Work, i'm not sure that this will be done ;)

If you always present the form as ShowWindow = 2, then you can have it mimic a docked item by keeping it at its coordinates inside the parent / encapsulating form. It just needs to make sure its thisForm.left and thisForm.top track with any movements of the parent form.

Not the most elegant solution, but given what the customer is asking for it will work.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform