Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sparse, grid alignment issue
Message
 
À
02/06/2006 05:42:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01124412
Message ID:
01126757
Vues:
13
>>If I set columns in a grid to sparse=.f. (textbox controls in each column), the alignment shifts upwards on some columns. To better explain it...the row will not uniformly align on the same line/row. The columns with characters will be skewed higher than the columns with integers/numerics.
>>Is there a way to fix that behavior? Is that a bug?
>>(I like the grid highlighting look with sparse set to false, so I'd like to fix it without change sparse back to .t.)
>>Allen
>
>This is a VFP's bug.
>
>Workaround:
>
>
>* force VFP to execute the Textbox.Alignment = 3 routine:
>* Mark ( bold ) TextBox property Alignment = 3 ( Automatic )
>
>* on textbox.Init set
>this.Alignment = 0 && or 1,2 . the wished value
>
Good solution. Thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform