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