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
De
31/03/2006 02:11:34
 
 
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:
01109419
Vues:
20
Naomi,

This is what I did. I put the code below in the InteractiveChange Method of the checkbox:
LOCAL llFlag

* Assumes ControlSource of Column is a logical field named myLogicalField

llFlag = NOT myLogicalField

REPLACE myLogicalField WITH llFlag

This.Refresh()
Hope it helps,

Dennis

>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform