Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Window & Screen & Form
Message
De
06/04/2006 14:19:10
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
05/04/2006 14:39:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01110733
Message ID:
01111145
Vues:
19
>For the windows created with DEFINE WINDOW, is it possible for a child window to inherit the properties of its container (another window or screen). Because I would like if I change the font of a window to change also the font of its child window. In DEFINE CLASS AS, I don't see a base class named window. Is it the right way to look at?

Use a form, and you can treat it as a window. In any window-related commands, it's form.name that equals window name:
o=createobject("form")
o.Name="xample"
show window xample
Then, of course, you can have your own form class that'll have any such properties that you may want.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform