Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BINDEVENT Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01208571
Message ID:
01208605
Vues:
28
Are you sure that cboButton is a combo? Maybe it's a button?

>The event isn't the issue. I am getting the error when I run
>this. Seems like you and Nadia are not seeing it though, so
>I'm not sure what's wrong here.
>
>
>
>>>>>>Why isn't this working?
>>>>>>
>>>>>>I have a combo on a container, and in the Init of the container I have:
>>>>>>
>>>>>>
BINDEVENT(This.cboButton, 'DownClick', This, '_Toggle')
>>>>>>
>>>>>>The container has the method '_Toggle' on it.
>>>>>>
>>>>>>When the Init of the container fires, I get "Property 'DownClick' does not exist"
>>>>>>
>>>>>>Anyone?
>>>>>
>>>>>I've tried this with a form and I didn't get an error, however, I don't see my code firing.
>>>>
>>>>It works with no problems. Most likely, 'cboButton' is outside of container.
>>>
>>>I bind it to form's Click event and just put a messagebox there, but I do not see the messagebox when I click on the combo's down arrow.
>>
>>Downclick in combo is an extremely unreliable event. Click as many times as you have patience and you will get it. My guess that initial question was about Dropdown event.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform