Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox in a grid
Message
 
 
À
06/01/2014 14:36:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01591406
Message ID:
01591413
Vues:
74
>>>Hi All:
>>>
>>>Sorry for asking this question, but how do I display a checkbox in a grid, when the underlying field is logical.
>>>
>>>Thanks,
>>>
>>>Yossi
>>
>>In the grid column insert a checkbox, delete the original textbox, set sparse property of the column to be false.
>
>Man, I feel stupid. How do you 'insert a checkbox' and 'delete the original textbox' (visually)?

Click on the grid, go into Properties sheet, select the column you want to insert the checkbox in (in the property sheet). Then click on the checkbox on the Form's Controls Toolbox and it will be inserted into that column.

Then being still in that column, select Text1 in the property sheet (in that column). Click on form's title and press Delete button. The textbox is going to be deleted and now you will see that your column has checkbox. Don't forget to set sparse = .f. for the column.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform