Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkboxes in grids
Message
De
13/09/1999 10:59:15
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:
00263996
Vues:
34
>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!


Susan,
Not at all as you think :) You should see me asking about ASP in the past:)
-Open designer
-Rightclick your grid and select edit
-Click on column where checkbox should be
-Go to PEM sheet
-Set currentcontrol to Checkbox using the combo
-Rightclick DynamicCurrentControl and select "reset to default"

For multiselectgrid, have you downloaded gridx.zip and checked the samples ?
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform