Graphisoft®

Dialog ManagerVersion: 2.0

ListBox::SetTabFieldOwnerDrawFlag

Sets the owner draw flag of a tabulator field.

void SetTabFieldOwnerDrawFlag (
    short               tabIndex,
    bool                ownerDraw
);

Parameters

tabIndex
1-based index of the tabulator field.
ownerDraw
Value Meaning
false The tabulator field is drawn by DG.
true The tabulator field must be drawn by the application.

Description

After the owner draw flag of a tabulator field is set to true, the application receives a ListBoxObserver::ListBoxTabFieldUpdate event whenever the tabulator field must be updated.
The update flag is assigned to the list box and not to its items. This means that the tabIndex tabulator field of all list items must be updated by the application.