Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Centering a checkbox in a grid column.
Message
From
22/10/2003 16:47:13
 
 
To
22/10/2003 16:22:18
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00841275
Message ID:
00841290
Views:
15
>I'm using VFP 8, SP1 and attempting to center a checkbox in a grid column
>
>Per the example in the help file, I have set Column.Sparse = .F. and checkbox.centered = .T. and checkbox.caption = "".
>
>If checkbox.alignment = 0, the checkbox is always left-aligned in the column
>If checkbox.alignment = 1, the checkbox is always right-aligned in the column
>
>The checkbox is never centered in the column. Am I missing something?

You're not missing anything documented.
Base grid and checkbox works as doc'd for me. Alignment doesn't matter, even with Sparse=.T.

dumb questions:
Does it work with base grid/checkbox?
Are these properties all still set correctly when you see this behavior?
Anything in your class resetting these props?
Was this a checkbox-in-a-container class made to handle centering?
Insanity: Doing the same thing over and over and expecting different results.
Previous
Reply
Map
View

Click here to load this message in the networking platform