Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why does my Valid() code operate differently to click()
Message
De
16/12/1999 06:20:31
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00304456
Message ID:
00304566
Vues:
37
>>This didn't work when place in the optiongroup.click, but it worked if I placed it in each of the optiongroup.optionx.click methods. Very strange, I would have thought clicking on an option within a group would have fired the click method of the group.
>>
>>Thanks.
>>
>
>David,
>
>Nope, clicking the background of the optiongroup where there is no button fires the optiongroup's click. If you want that code centralized then move it to the optiongroup's InteractiveChange which fires whenever the value of the optiongroup changes. Clicking a button in the group changes the value, so it also fires the InteractiveChange.
>
>Another alternative, if you want the code centralized, is to call teh optiongroup's click from each button's click like this;
>
>

>* Option Button Click
>This.Parent.Click()

That's really helpful. Thanks Jim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform