Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Centering a checkbox in grid column
Message
From
27/06/2003 06:30:19
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00804414
Message ID:
00804585
Views:
69
>Andrus,
>
>Make sure the caption really is set to (None) on the property sheet.
>
>>
Column1.Sparse = .F.
>>Column1.Checkbox1.Centered = .T.
>>Column1.Checkbox1.Caption = ""
David,

Yes .caption property displays (none) in property sheet.

In my checkbox class init event I have :
IF TYPE('this.parent.sparse')='L'
  * Checkbox is in grid column. Make it centered.
  this.parent.sparse= .f.
  IF VERSION()>='Visual FoxPro 08'
    this.centered = .t.
    ENDIF
  ENDIF
But the checkbox is still left-aligned!

According to VFP 8 help file in .centered property, it is possible
to center a checkbox in grid. Unfortunately, I havent found ANY sample
which shows this.

Is there any sample code which shows centered checkbox in grid ?
Is it possible to center checkbox in VFP 7 ?
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform