Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access Method
Message
De
19/12/2019 12:57:28
 
 
À
19/12/2019 11:52:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
01672305
Message ID:
01672331
Vues:
66
>>>>>
>>>>>*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 ;-)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform