Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Application with one form
Message
De
02/08/2022 16:06:53
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01684759
Message ID:
01684760
Vues:
99
This message has been marked as the solution to the initial question of the thread.
J'aime (1)
>>UPDATE 2: This "main" form is used in another application as Modal form. And the property ShowWindow in that other application is 0 (not 2).
Is it possible to change these properties in code when creating the object of the form when it has to be Modeless and 2 - As Top Level Form?

Some of VFP's form display properties can't be changed after form creation commences, so you'd need to subclass if you can't edit the "main" form directly. This is a nuisance if it's a scx rather than a class in a vcx or prg, but I don't know any other way if you need more than one version of these settings, even borderstyle.

HTH. Also, experiment with desktop= setting that can make the parent form look like a native form for your OS.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform