Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting changes between controls in a container
Message
De
06/03/2002 06:29:02
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00628486
Message ID:
00628885
Vues:
27
>Hi José,
>
>>Thanks, this solution could be a solution for my framework, but I'm looking for a black box solution. I want a solution that it don´t force me to redefine my textbox class, I like to share this code with the fox community and this limitation is hard
>
>I think the Paint event of the form fires when the current control changes. That's not on the container level, but maybe better than a timer.

Yes, it works like I want to work, thanks, it´s I´m looking for.
Only a thing, how I can add the code to paint method when my container init?

>
>In any case, I'd probably leave this in the responsibility of the user of my controls. That is, I'd add a method OnChangeFocus to my container and have them call this method in the textboxes. It's only a single line and should easily be added to the classes. Additionally you can offer a timer that does this automatically and a builder that adds the code to all elements in the container.

I don´t understand the timer function yo say.

Thanks.
José Luis.

Quidquid latine dictum sit, altum sonatur

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform