I am using the following code with clipper 5.2 and FW
But I get runtime error when the line is executed.
I use a public arrary, Journal as the data lines of the listbox. Later in the code after the above line, SetArray() method is used to define the array.
I can't locate documentation that tells me how to use FIELDS and HEADERS.
If I change the above code to:
I don't get a runtime error at this point, but later I get an error when the listbox is refreshed from wBrwLine(). It errors at:
This code all works well with FW and clipper 5.2.
How can I fix this?
Thanks,
Paul
@ 0,0 listbox aObject[AO_JOURNALLIST] fields headers 'Journal' alias 'ARRAY' pixelBut I get runtime error when the line is executed.
I use a public arrary, Journal as the data lines of the listbox. Later in the code after the above line, SetArray() method is used to define the array.
I can't locate documentation that tells me how to use FIELDS and HEADERS.
If I change the above code to:
@ 0,0 listbox aObject[AO_JOURNALLIST] fields alias 'ARRAY' pixelI don't get a runtime error at this point, but later I get an error when the listbox is refreshed from wBrwLine(). It errors at:
nRight = Min( nColStart := ( nLeft + aColSizes[ n ] - 1 ), nWidth )This code all works well with FW and clipper 5.2.
How can I fix this?
Thanks,
Paul
-Paul