Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid with Checkbox
Message
 
À
20/02/1998 01:29:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00079961
Message ID:
00080695
Vues:
26
>>Does a class exist for a grid which has a checkbox as one of its columns? The plan is to perform an operation on child records based upon whether a check is in the box for a particular record.
>>
>>TIA for any helpful info,
>>
>>Bill
>
>I frequently use checkboxes in grids. Here's how:
>
>* Select the grid on the form.
>* Choose the column (the one you want to add the checkbox to) from the dropdown list at the top of the Properties sheet.
>* Select the checkbox tool from Form Designer toolbar, go back to form and click on the column to add it. (Scroll the grid first, if needed.)
>* Go back to properties sheet and select that column's default textbox control.
>* Click on the form's title bar and hit your delete key to get rid of the textbox. Your checkbox should appear in the grid now.
>* Set the column's sparse property to .F.
>* Remove the checkbox's caption (usually) and set the column's controlsource and width (usually small, like 25).
>
>That should do it. Hope this helps.
>
>--Greg

Quite helpful. Thanks. I experimented with some of the info on the other thread responses. This is a cleaner more direct way and takes some of the guesswork (or lack of experience doing this) out of it. Much appreciated!

Bill
CySolutions, Medical Information Technology
You're only as good as your last
success, so . . .If it works. . .don't fix it!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform