Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Easy Inheritance Question
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00591516
Message ID:
00592143
Vues:
20
I guess you put your code in the container Click event. It doesn't fire because container is covered by Led controls. To get it work you can add following code to each of LED controls Click Event
* LEDn.Click
This.Parent.Click()
>Hmmm...
>LED.VCX contains LED
>LED has Click (placed code here class level) and flick methods
>flick is called by the form activate without a problem:
>thisform.led5.flick
>
>Why can't I 'click' any led on the active form?
>
>
>>Hi Edgar,
>>
>>The Led class has container and six controls with Click event. Where did you put your code? How did you try to trigger Click Event?
>>
>>>I've taken the LED Class.
>>>
>>>Added a line of code in the click
>>>wait window "HI from "+This.cColor TimeOut 2
>>>
>>>Added six "lights" to a form-screen and Run the form
>>>
>>>Why can't I get the window message?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform