Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Window & Screen & Form
Message
From
06/04/2006 14:19:10
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
05/04/2006 14:39:36
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01110733
Message ID:
01111145
Views:
18
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform