Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids 101
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00846808
Message ID:
00847142
Vues:
40
>>Grids 101 continued:
>>
>>One of the fields in my cursor is a logical field. How do I put a checkbox into the cursor to control this field?
>>
>>thanx -
>>
>>Yossi
>
>The answer to this is kind of a long story.
>Right click the grid and select edit. Select your checkbox control and drop it in the column that you want. Now go to your property sheet. Find the textbox control for the column, that you droped the checkbox control into, and select it in your property sheet. Next click the title bar for the form and click the delete button. This should remove the textbox control for the grid's column. Next set the controlsource for the checkbox to your cursor fieldname.
>
>That should do it.
>
>Einar

Einar:

Thanks; that worked.

Two Comments:

The checkbox only appears if you created the cursor in the LOAD, not in the INIT. Why?

If the grid has the same number of rows as there are records in the cursor, if I press the down arrow, the top rows will disappear one by one. The only way that I have have found to avoid this behavior is to make the grid at least one full row taller than there are records, NOT a very elegant solution! Any suggestions?

Thanks for all the help so far,

Yossi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform