Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create class of just controls
Message
De
22/10/2004 13:24:03
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Create class of just controls
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00953797
Message ID:
00953797
Vues:
55
Pardon my Friday ignorance, but I want to create a class and then start creating controls and adding the controls to the class one by one. For instance let's say you have some common values:

Name
Address1
Address2
City
State
Zip
Phone

I want to create 7 textboxes for these values and store each of them as a class so that I can drop all 7 on a form later. Then I change the attributes of them and have it take effect everywhere those special textboxes are used.

I am going to have a vcx of common controls and then have a customer name and address group of textboxes, a company name and address group, etc.

Please forgive my Friday forgetfullness and how do I do this? I am drawing a blank on getting the textboxes into the vcx visually....
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform