Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkboxes in grids
Message
 
To
13/09/1999 10:39:23
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00263961
Message ID:
00263990
Views:
33
Susan,
Where did you set sparse = .f. It should be at column containing checkbox control. Also, currentcontrol should
be checkbox (might it be it's in DynamicCurrentControl ?).

MultiSelectGrid is for replacing Multiselect combos. It works like explorer selection (Space, Ctrl+Click,
Shift+Click etc). Selected records are highlighted, header click sorts on column, current column header has
yellow background etc. It's either created on the fly passing parameters (lcSQL, lcOriginalTableName) or in
designer (set its cSQL, cOriginalTable properties then). Each multiselect (there can be mutipl at a time) grid,
generates a new name for its own cursor. You reach it via .myMultiselectGrid.RecordSource. When grid
removeobjected or its form released, recordsource is also closed in its destroy. So you must use it before grid
has gone. I had included samples with it AFAIK. It's easy to use because its cursor is an SQL copy of its source
with a few more fields added (like recno if selected from just one table).
________________________________________________________________________________

Cetin, the sparse = .f. is where it should be but i'm not so sure about the currentcontrol. how can i set it to what it is suppsoed to be? also, i'm really lost about this multiselect thingy. where should i put the code to set the multiselectgrid? Gosh, I must have sounded like such an idiot to you right now but i dont have a clue what to do!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform