how can i reach that the little triangle is shown beside a header if i do the sorting with oBrw:aCols[ n ]:bLClickHeader.
I can not use cSortOrder or autosort.
Thanks and regards,
Detlef
Detlef,
Please review samples\TestXBr3.prg function RddBrwSelColsWin().
If you use the @ ..., ... XBROWSE command then use AUTOSORT clause.
Or if you call to SetRdd():
SetRDD( lAddColumns, lAutoSort, aFldNames )
Or you can modify a specific column:
oCol:cSortOrder = ...
indextag or oRs:fieldname or column number of array
Detlef,
> I can not use cSortOrder or autosort
why ?
Detlef,
In method PaintHeader() you can see that oBrw:cOrder is checked to paint those arrows
Antonio,
thanks for your advices.
But using the codes from PaintHeader() is very complex.
I do as the following:
after clicking a column header i add a '*' to the header's text.
I can not use cSortOrder because the sorting is done by values which are different from those who are displayed.
Thanks anyhow,
Detlef