>>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
>
Good solution. Thanks.