Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting changes between controls in a container
Message
De
06/03/2002 09:56:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00628486
Message ID:
00628983
Vues:
23
Thanks for your answer.
I go to do what you say, and offer two solutions for the ChangeControl Event, a "white box", using Paint Event, and a "Black Box", using a Timer, and the developer try who is better for his work.

José Luis
Alicante - Spain


>Hi José,
>
>>Only a thing, how I can add the code to paint method when my container init?
>
>You can't at runtime, not really. You have to create a method in the container and call it from the Paint method of the form. The code in the form must be added when a developer adds the container.
>
>>I don´t understand the timer function yo say.
>
>You mentioned the timer in your first message. What I meant is that there's nothing wrong in offering this timer to detect focus changes, but it shouldn't be required. If someone is willing to add the single line of code to all controls in the container, they don't need a timer. In other words, there should be an option to turn the timer off.
>
>Christof

Quidquid latine dictum sit, altum sonatur

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform