Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Click in grid's checkbox is not fired in 100% of cases
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01108973
Message ID:
01109358
Vues:
33
>>>Hi everybody,
>>>
>>>I put a grid on the form (grdSorting class). This grid has writable cursor as its record source and two columns are set as ReadOnly = .f. (our grid's default is true).
>>>
>>>I put checkboxes in two of grid's columns. In the click method of the checkbox I have:
>>>
>>>this.Parent.Parent.Parent.lProfileChanged = .t.
>>>
>>>I'm clicking on the checkbox and it looks like sometimes it doesn't react on my click. In most cases I see the check mark changed, but in some it remains like I didn't click.
>>>
>>>Did you notice this behavior? What can cause it?
>>>
>>>Thanks in advance.
>>
>>The other anomaly we noticed is with comboboxes. Sometimes when you pick up an entry with the mouse, it doesn't take it. The user just complained and was even able to show the problem once. I said it's VFP internals. I'll check out for any extra code that may cause it, but does anyone here noticed anything like this?
>>
>>Thanks.
>
>Hi Naomi,
>I noticed these two anomaly's in VFP9.
>
>The anomaly with checkbox i remove with this code in click event of checkbox
>
this.Value = this.Value &&& stupid but works for me
>
>But the second anomaly with comboboxes I don't know. Big problem for me and... my clients.

Thanks a lot for confirming. I'll use your trick for checkboxes. May be someone can suggest a workaround for comboboxes. Or someone from VFPT would be able to reproduce...
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform