Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
V6s5 A class for controls go-betweens it and the form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00804967
Message ID:
00805563
Vues:
23
Hi Sergey,

The reasons:

1. My controls classes (txt, chk, etc) contain similar if not same codes that are used at the time of data-entry. This is code: repeated <g>

2. Max use of these classes will be for data-entry screens. Similar controls are required infrequently on other than data-entry forms.

3. AFAIK, if I subclass, I will have to sub classes the controls for first usage with infrequent forms. Then re-subclass them and add data-entry related codes and use in data-entry form. This IMO is adding an unnecesary level of subclassing for frequently used controls. Then again a lot of code is repeated between controls.

Please advise.

>Wwhat's your goal? Why do you need that class? What it suppouse to do?
>
>>Hi all
>>
>>This is what I have in mind.
>>
>>1. Create a Custom class as the go between. Contains all the abstract methods that will be used by the calling control (txt, cbo, chk, etc)
>>
>>2. Sub class this class for Data-Entry form and otherwise forms.
>>
>>3. Put it on the base form class. Populate basic methods
>>
>>4. Open Data-Entry form and populate subclass with method codes.
>>
>>Please advise am I on the right tracks.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform