Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkboxes in grids
Message
 
À
13/09/1999 10:39:23
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00263961
Message ID:
00263990
Vues:
32
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!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform