Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need assistance creating a Control control
Message
From
15/08/2005 15:21:47
 
 
To
15/08/2005 10:29:03
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:
01041112
Views:
33
Hi Mike,

I may be wrong, but I don't think you can do this at design time. What exactly are you trying to achieve?


>Hi,
>
>I'm trying to create a custom control based on the VFP control class. At design time I dropped a label in the control along with a shape. I created a custom property for the control named Caption that has an assign method to change the label's caption. In the control's init event, I set Caption=Caption to force the assign to update the label's caption.
>
>This works fine at runtime. How can I update the label's caption at design time? When I drop a instance of this class on a form, the label and shape objects are not available (since it is a Control control).
>
>Regards,
>
>Mike
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform