Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access Method
Message
From
19/12/2019 12:57:28
 
 
To
19/12/2019 11:52:26
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
01672305
Message ID:
01672331
Views:
65
>>>>>
>>>>>*Textbox.forecolor_access
>>>>>return  oApp.text_forecolor
>>>>>
>>>>>If your application has a subclassed textbox class (and it really should), you only need to do this in this subclass.
>>>>
>>>>Thank you very much. I will try the approach you suggest.
>>>
>>>I just checked, and it looks like you can NOT use the backcolor_access approach I suggested. Clearly the controls themselves use the "real values. So go for the init version you mentioned.
>>
>>Nooooo... check message#01672056
>
>Is that a noooo to my no, meaning that backcolor_access will work? Can't test myself at this moment.

Noooo to your recommendation to set the backcolor via init.
The code in init will need run for each OBJECT, setting the default via the property will ron ONCE for each each prototype needed in the inehritance chain. Pls. check my example code, switch from Dumb to Smart progenitor and back and watch the waiti windows... Seems to work fine under even Linux ;-)
Previous
Reply
Map
View

Click here to load this message in the networking platform