Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Arrays for flexibility
Message
From
24/08/2000 19:32:59
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
 
To
24/08/2000 18:03:41
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00409030
Message ID:
00409054
Views:
22
>Help!
>
>I have created a textbox class. In the background color property I have entered =a_color(1) which will be assigned a rgb value at run-time.
>
>however when runing the form with this class the color value is not taken from the array but from the initial color in the class at design time.
>
>In the form the properties for the class do say =a_color(1) but in reality it takes the color value from the class at design time.
>
>How can I do this to stay flexible with the colors and other properties which need to be flexible.
>
>Thank you
>
>Gunnar

Hi,

I think you'll have to assign the value at runtime. Just assign it in the init code of your class definition.
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform