Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Defining Methods in Classes for Objects Added at Runtime
Message
De
23/02/2006 09:00:38
 
 
À
22/02/2006 20:27:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01096949
Message ID:
01098451
Vues:
13
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform