Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Defining Methods in Classes for Objects Added at Runtime
Message
From
23/02/2006 09:00:38
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01096949
Message ID:
01098451
Views:
14
>Thank you for the insight. ...
>This might just be what I'm looking for.

It's quite nice, as you can work with bindevent etc. within the inner control structure. And it's still all encapsulated. But there is one little bug with this pseudo protection: SETALL() will not respect this boundary. So if you put some class based on control that has several labels in it on a form and isse THISFORM.SETALL("fontbold",.t.) also the labels within your protected control will get bold. although you couldn't do THISFORM.mycontrol1.label1.fontbold = .T.

Bye, Olaf.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform