Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A serial no. textbox needs 2 function calls, need to oop it
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
A serial no. textbox needs 2 function calls, need to oop it
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01194404
Message ID:
01194404
Vues:
75
Hi all

I have a textbox that needs to display a serial no. (user modifiable, so they can skip nos. if they have to). This textbox has a GotFocus() method to call a application level function GetNextNo(), this will provide a next no. without a break. When the form is save, in it's Business Object container's (I use CodeBook framework) BeforeSaveValidations() I make another call to function BadNextNo(), this validates (multi-user) the no. being saved and returns a .T. or .F. This return value is then returned from BeforeSaveValidations(), thus stopping a save if required.

Now my question is I have 2 separate calls in 2 diff. classes, how can I make this textbox a class for nos. but for that I have to contain both calls in the class itself. How can I go about this? Is this possible?
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform