Dropdown items (PRIM_MD.DropdownItems)

Collection of items in the dropdown

Ancestors - Object (PRIM_OBJT)

Details

Collection of all items at the root level of the tree.

Items are in the order they appear on the screen.

Items parented to child items are accessible via the Items property of the item.

Accessing a list item does not set CurrentItem, so field values for the item are not returned to the parent component.

Example

Iterating over the selected items at the root level of a tree.

     For each(#Item) In(#Tree.Items) 

Continue (*Not #Item.Selected)

* User processing here

Endfor

Properties

Name

Description

ComponentClassName

ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)

ComponentMembers

ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)

ComponentPatternName

ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)

ComponentTag

Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)

ComponentType

ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)

ComponentTypeName

ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)

Item

Provides access to a particular item in a collection

ItemCount

ItemCount is the number of items in a collection

Name

Name identifies the component Inherited from Object (PRIM_OBJT)

Owner

Owner owns this component Inherited from Object (PRIM_OBJT)

Parent

The component instance to which this instance is attached. The visual container for a control or the collector of a set of child instances Inherited from Object (PRIM_OBJT)

Events

Name

Description

CreateInstance

CreateInstance is signalled when an instance of a component is created Inherited from Object (PRIM_OBJT)

DestroyInstance

DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Object (PRIM_OBJT)

Methods

Name

Description

Add

Add an item to the dropdown

Result, Value, Caption

CreateIterator

CreateIterator method creates an iterator component that enables iteration through the collection

Result

RemoveAll

Delete all dropdown entries

RemoveAt

Removes the item at the specified position

Index


See also

All Component Classes

Technical Reference

  • No labels