Graphisoft®

Dialog ManagerVersion: 2.0

PopUp::SetItemStatus

Sets the enabled/disabled status of a popup item.

void SetItemStatus (
    short               popupItem,
    bool                enable
);

Parameters

popupItem
1-based index of the popup item to be modified, TopItem or BottomItem of Item type specifies the first or last item of the popup control. Use AllItems of Item type to change the status of all items.
enable
Specifies whether to enable the given popup item. If true, the popup item will be enabled, otherwise the item will be disabled.