company logo

ActionItem :: removeSubItem - Remove subitem from action item list

The function is typically used for updating dynamic menus during run-time (e.h. for displaying last recently opened files). In order to remove items from the action item list, the function might be called with name or position.

Implementation overview

Implementation details

  1. Remove action item by name
    ActionItem  :: removeSubItem ( odaba::String &sName )

    The function removes the action item with the name passed in sName from the subordinated action item list.

    • sName - Resource or entity name

      The name refers to a design or GUI resource.

  2. to list
  3. Remove action item by position
    ActionItem  :: removeSubItem ( int32 iPosition )

    The function removes the action item at position passed in iPosition from the subordinated action item list.

    • iPosition - Position in collection

      The position of an entry in a collection or list is the number of the entry in the collection beginning with 0 for the first entry.

  4. to list