Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Click in grid's checkbox is not fired in 100% of cases
Message
From
31/03/2006 02:11:34
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01108973
Message ID:
01109419
Views:
21
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform