Thanks for your reply, Cetin. Let me be more explicit.
In my form's Init, I have
In the form's custom method set_up_list, I have
Visual Fox Pro
WITH THISFORM.grdLocgrid
.Height = 300
.Top = 20
.Visible = .T.
.lKeepFormat = .T.
.ColumnCount = 4
.Columns(1).Header1.Caption = 'Name'
.Columns(1).Width = 500
.Columns(2).Header1.Caption = 'Entity'
.Columns(2).Width = 200
.Columns(3).Header1.Caption = 'Subject'
.Columns(3).Width = 200
.Columns(4).Header1.Caption = '# of languages'
.Columns(4).Width = 200
.SetAll('Fontbold', .T., 'Header')
.SetAll('Alignment', 2, 'Header')
.Width = .Columns(1).Width + .Columns(2).Width + .Columns(3).Width + .Columns(4).Width
.Left = .Parent.Left + (.Parent.Width - .Width)/2
ENDWITH
It all works. However, when I run the program, and I am in the grid, and I move from one column to the next (by using the right arrow key), I get the error
Program Error: Unknown member MYHEADER1.
Hope this clarifies the issue.
Regards,
Hans