Getting no arrows on ListBrowser column titles

Online Status

I'm currently creating my first tool that uses BOOPSI Gadgets. The layout looks like this: Screenshot in my cloud

I've set up the ListBrowser so that it sorts the first column "Old name" when clicked on its title. This works so far. But I've also set that arrows should be displayed on this column to show the current sorting direction visually - and this works not.

The ColumnInfo is allocated like this:

m_pColumnInfo = AllocLBColumnInfo(2,
                                  LBCIA_Column, 0,
                                  LBCIA_Flags, CIF_WEIGHTED,
                                  LBCIA_AutoSort, TRUE,
                                  LBCIA_SortArrow, TRUE,
                                  LBCIA_SortDirection, LBMSORT_FORWARD,
                                  LBCIA_Title, "Old name",
                                  LBCIA_Weight, 50,
                                  LBCIA_Column, 1,
                                  LBCIA_Flags, CIF_WEIGHTED,
                                  LBCIA_Sortable, FALSE,
                                  LBCIA_Title, "New name",
                                  LBCIA_Weight, 50,
                                  TAG_DONE);

And the ListBrowser set up is:

...

LAYOUT_AddChild, m_ppGadgets[GID_LISTBROWSER] = NewObject(LISTBROWSER_GetClass(), NULL,
  GA_ID, GID_LISTBROWSER,
  GA_RelVerify, TRUE,
  GA_ReadOnly, TRUE,
  LISTBROWSER_ColumnInfo, (ULONG)m_pColumnInfo,
  LISTBROWSER_ColumnTitles, TRUE,
  LISTBROWSER_TitleClickable, TRUE,
TAG_DONE),

...

What did I miss to get the arrows displayed?

Online Status

hmm yeah it does't work with readonly - thinking about that i don't see why this limitation is there, except it does alter the list

Online Status

You are right, without GA_ReadOnly, TRUE, the arrows are displayed. Thank you for pointing out this workaround:-)

Online Status

We have now fixed it in upcoming 3.2.3 update which we are working on, but don't have an ETA for yet

Online Status

Thank you!

I have another question regarding ListBrowser. Is it already possible (or maybe is it planned for a future release) that the user can sort the rows manually by moving them with drag'n drop with the mouse?

Online Status

It is not possible right now. In the back of my mind I was hoping we would add it for 3.3, but absolutely no promises. With 3.3 being years away there is at least hope that we will find time

Online Status

Many thanks!