Graphisoft®

Dialog ManagerVersion: 2.0

ListBox::SetHeaderPushableButtons

Enables the header items to be used as pushbuttons in the list box.

void SetHeaderPushableButtons (bool hasPushableButtons);

Parameters

hasPushableButtons
If this state is set to true, the header items are displayed as pushbuttons.

Description

If the hasPushableButtons state is set to true on the list box header, the application gets a ListBoxHeaderItemClickEvent event if a header item was clicked. A typical use of the pushable header items is sorting the list elements. It is possible to indicate the sorting order of a list box coloumn in a header item. Primary and secondary sorting order are shown with simple and double triangles, pointing up or downwards. To show or hide the sorting arrow the SetHeaderItemArrowType method is used.