Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox in grid causing error when clicked
Message
From
06/02/2002 06:55:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00615762
Message ID:
00615930
Views:
33
>David,
>
>The checkbox works fine when it is not in the grid column. It must be something with my grid. Records from my table appear in the grid correctly. I have CurrentControl for the column set to the name of my checkbox control. Have sparse set to false. I have the checkbox on transparent background. I have the checkbox caption on (None). I will be looking in the books and see what I might have missed?!?
>
>Could it have anything to do with the form that the grid is on being Modal? I think I tried the form as Modeless with no change. Thanks again, you gave me some good ideas, but there is something strange going on here.

Steve,
Is column bound ? IOW are you sure column and checkbox are using the same controlsource which is either logical or numeric ? In grids there is a hierarchy between grid.recordsource - column.controlsource and its controls' controlsource. Probably you played with them. You don't need to play with .Value of checkbox at all since would be useless with a databound control.

Oh my. You already solved this when I posted :) Sorry.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform