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 :(