Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox in a grid
Message
De
18/03/1999 14:52:32
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00199401
Message ID:
00199419
Vues:
25
>>>>>>I have a pretty basic question:
>>>>>>
>>>>>>How do I change the control that is displayed in a column of a grid? I have a logical field that I want to show as a CheckBox instead of as a TextBox. I want to do this in the form designer without using the builder.
>>>>>>
>>>>>>I have just discovered the Style property for CheckBoxes. Functionally it isn't required, but I think that it might make some forms a little more visually appealing...
>>>>>>
>>>>>>Joe
>>>>>
>>>>>Do you want to drop checkbox to grid.column?
>>>>
>>>>Sure, if that will work (I'm not aure I understand what you mean/how to do this). I just want the column to display a checkbox instead of a TextBox.
>>>
>>>Right-click on grid, select 'Edit', click on column, click on 'Checkbox' in controls toolbar, click on column again.
>>
>>Excellent. What is the property to pick the "active" control in the column?
>
>CurrentControl?
>
>Sorry...

Yes, but you may also set Sparse=.F. and even delete Textbox from the column: right-click, Edit, select textbox in property sheet, click on column, press Delete.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform