Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to setfocus to control with BrokenRule
Message
 
 
À
28/11/2002 23:08:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00728050
Message ID:
00728087
Vues:
31
Hi Joro,

I was thinking about this problem more while I took a little break... Basically, I think, any existing framework should have such functionality built-in. Unfortunately, I have 0 experience with frameworks excluding 2h. presentation in Visual FoxExpress.

Anyway, my idea would be to create method of your baseform class, say, RegisterControls. Add 2-dimensional array to your form. First element will held field, the second element will held the full path to the control...

That's a basic idea. The implementation is not too complicated... Let me find a thread with the looping through control's collection code...

>Ok Nadya,
>
>If i suspend it works, the Initvars() clear the form and prepare it for a new record, now if error don't run the InitVars(). :)
>
>So more dificulty here, my page have PageFrames and other controls, have you some example to loop thru the controls?
>
>Thank's, apreciate your help.
>
>João Batista
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform