Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need assistance creating a Control control
Message
 
 
To
15/08/2005 16:15:34
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01040983
Message ID:
01041669
Views:
25
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform