Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Changing the class of an object
Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement