Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need assistance creating a Control control
Message
 
 
À
15/08/2005 16:15:34
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01040983
Message ID:
01041669
Vues:
24
Mike,

Can't do it. Control subclasses by definition do not allow the internal objects to be exposed, everything must be done via properties/methods of the Control class itself, which will delegate the message on to it's internals as it sees fit.

If you want to have "public" access like this to the internals change it to a Container.

>I'm trying to create a custom button based on the FoxPro Control class. It uses a label to show the button's caption and the shape is used to set the button's shape.
>
>I was hoping that at design time, when I set the control's caption, there'd be a way (hook?) to set the label's caption so that I don't have to actually run the form to see what the control would look like. As it is, I have to "work blind" at design time since all the controls say "Label1" for the captions :(
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform