Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Centering a checkbox in grid column
Message
De
27/06/2003 06:30:19
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00804414
Message ID:
00804585
Vues:
71
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform