Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the class of an object
Message
De
08/02/2006 15:09:23
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Changing the class of an object
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01094757
Message ID:
01094757
Vues:
56
Hi all,

I have a form with many textboxes on it for data entry. I changed some attributes to each of the items so they'd display the way I want them to. I then discovered that I can create my own classes with these attributes already set so I don't have to change them for each item. :) So, I created a new class called "txtblackwhendisabled" based on the "textbox" class that will give me the look I want.

Now, how can I go back and change all the textboxes on my forms to use this class? When I go into the Properties window, the Class field is disabled, and I can't change it. Is there a way to do this, or can you only assign a class when an object is created in the first place?

Thanks!

John
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform