Vertical Scroll Bar Generic List

I created set up a list row x 10 genie in and linked it to a generic list genie.

OnPageEntry. the function call to initialise the array was using this 

_ArrayView_Initialize();

hArray = GenericListCreate(hAn, nListWidth, nHeight , nRowHeight, 1, "CommentsFmt", DspFontHnd("SA_AlmRow" + sFontPostFix), DspFontHnd("SA_AlarmHeaderB" + sFontPostFix));

which creates the generic list with a header using the FORMAT.

in the GenericListFillFunction, i call a cicode function that will populate the lists

the offset is 0

I return a RecordSet from a SQL query and attempt to populate the rows and columns in the list. the fields are populated and the headers are set.

However only the horizontal scroll bar appears, the vertical scrollbar doesn't appear even though the number of records exceeds the list row count

here's the psuedo 

for row = 1 to recordssetrows do

for col = 1 to fieldsize do

 ArraySetStringByAn(hAn, value, col, row,ARRAY_ZINDEX_CELL_VALUE);

end

end

please advise how to get the vertical scrollbar in the generic list?

Parents Reply Children
No Data