Try to set Column aligment. Leave textbox aligment default.
.Column3.Alignment = 1
>
>I refer to my previous msgs about using a grid instead of a listbox to get a right aligned column of dates on a form.
>
>After setting up the form with the new grid and populating the grid from a cursor, I cannot believe that the dates are now being displayed centred rather than right justified.
>
>This is the abbreviated code in my eSetGrid() method:
>
>WITH THISFORM.eView.Page1.grdEvents
> LOCAL nGridWidth
> nGridWidth = .Width
> .AllowCellSelection = .F.
> .RecordSource = "events"
> .RecordSourceType = 1
>
> ...
> .Column3.Header1.Caption = "Date"
> .Column1.Header1.Alignment = 0
> .Column3.Text1.Alignment = 1
> .Column3.Width = INT((12.2 * nGridWidth) / 100)
> .Column3.ControlSource = "date"
> ...
>ENDWITH
>
>
>IF I comment out the ".Column3.Text1.Alignment = 1", the dates are left justified, if I use either 1 or 2 the dates are centered.
>
>Do you know of any reasons why this would be happening? If it's not fixable, I may as well go back to left padding the date column of the listbox.
>
>BTW, does it have anything to do with #56143 posted today by Neil Lewis?
>
--sb--