Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the class of an object
Message
 
 
To
08/02/2006 15:09:23
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01094757
Message ID:
01094762
Views:
24
John,

See Re: Convert controls to custom class Message #1065772

>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?
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform