Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change all labels on form to diff color
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00045953
Message ID:
00046897
Vues:
49
>>OK, Jim, I put Thisform.SetAll("forecolor",RGB(255,255,0),"label") into the init section and no changes are apparant at all.
>
>Timothy,
>
>Are your lables base class labels or comming form your subclasses? I just made a form, put four labels from teh base class Label in it and four labels from my label class in it. In the INit I put THISFORM.SetAll("ForeColor",RGB(255,0,0),"Label") anmd teh base class label'ss color changed but the labels from my class did not. This si what I expected as the class I affected was the Label class and not lblBase class.

I guess they are base classes. Is this what foxpro defaults to?
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform