Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox in grid
Message
De
26/08/2004 02:31:16
 
 
À
25/08/2004 19:40:26
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00936395
Message ID:
00936498
Vues:
16
You might be able to do something like set CheckBox.Alignment = Right, and give it a caption of a few spaces, which should push the check box towards the middle of the column.

>Mike,
>
>That looks better but it still did not help my alignment problem. The visible=.f. control is left aligned. Both checkboxes are from the same class.
>
>Thanks
>
>>Hi James,
>>
>>Leave them both enabled, for the one you want to seem disabled, set it's visible property .F. I realize it sounds goofy but in a grid column a checkbox with visible = .F. is visible.
>>
>>>Hi all
>>>
>>>VFP8 sp1
>>>
>>>I have a requirement to have a check box in a grid that conditionally disables the check box. The only way I can see to do this is to use DynamicCurrentControl and have one checkbox disabled and the other enabled. This is working fine except the disabled check box will not center in the column. Any ideas how to fix this?
>>>
>>>Thanks
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform