ComboBoxes
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
ComboBox [] (index:
number)
Returns the ComboBox with the specified index.
Parameter | Type | Description |
---|---|---|
index | number | The index. |
ComboBox add ([layer:
Layer][, at:
LocationOptions=LocationOptions.UNKNOWN][, reference:
varies][, withProperties:
Object])
Creates a new ComboBox
Parameter | Type | Description |
---|---|---|
layer | Layer | The layer on which to create the ComboBox. (Optional) |
at | LocationOptions: LocationOptions.BEFORE LocationOptions.AFTER LocationOptions.AT_END LocationOptions.AT_BEGINNING LocationOptions.UNKNOWN | The location at which to insert the ComboBox relative to the reference object or within the container object. (Optional) (default: LocationOptions.UNKNOWN) |
reference | Document Layer MasterSpread Page PageItem Spread | The reference object. Note: Required when the at parameter is before or after. Can accept: Document, Spread, MasterSpread, Page, Layer or PageItem. (Optional) |
withProperties | Object | Initial values for properties of the new ComboBox (Optional) |
ComboBox anyItem ()
Returns any ComboBox in the collection.
number count ()
Displays the number of elements in the ComboBox.
Array of ComboBox everyItem ()
Returns every ComboBox in the collection.
ComboBox firstItem ()
Returns the first ComboBox in the collection.
ComboBox item (index:
varies)
Returns the ComboBox with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long Integer String | The index or name. Can accept: Long Integer or String. |
ComboBox itemByID (id:
number)
Returns the ComboBox with the specified ID.
Parameter | Type | Description |
---|---|---|
id | number | The ID. |
ComboBox itemByName (name:
string)
Returns the ComboBox with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array of ComboBox itemByRange (from:
varies, to:
varies)
Returns the ComboBoxes within the specified range.
Parameter | Type | Description |
---|---|---|
from | ComboBox Long Integer String | The ComboBox, index, or name at the beginning of the range. Can accept: ComboBox, Long Integer or String. |
to | ComboBox Long Integer String | The ComboBox, index, or name at the end of the range. Can accept: ComboBox, Long Integer or String. |
ComboBox lastItem ()
Returns the last ComboBox in the collection.
ComboBox middleItem ()
Returns the middle ComboBox in the collection.
ComboBox nextItem (obj:
ComboBox)
Returns the ComboBox whose index follows the specified ComboBox in the collection.
Parameter | Type | Description |
---|---|---|
obj | ComboBox | The ComboBox whose index comes before the desired ComboBox. |
ComboBox previousItem (obj:
ComboBox)
Returns the ComboBox with the index previous to the specified index.
Parameter | Type | Description |
---|---|---|
obj | ComboBox | The index of the ComboBox that follows the desired ComboBox. |
string toSource ()
Generates a string which, if executed, will return the ComboBox.
Element of
Cell.comboBoxes
Character.comboBoxes
Document.comboBoxes
GraphicLine.comboBoxes
Group.comboBoxes
InsertionPoint.comboBoxes
Layer.comboBoxes
Line.comboBoxes
MasterSpread.comboBoxes
Oval.comboBoxes
Page.comboBoxes
Page.tabOrder
Paragraph.comboBoxes
PlaceGun.comboBoxes
Polygon.comboBoxes
Rectangle.comboBoxes
ShowHideFieldsBehavior.fieldsToHide
ShowHideFieldsBehavior.fieldsToShow
Snippet.comboBoxes
SplineItem.comboBoxes
Spread.comboBoxes
Story.comboBoxes
Table.comboBoxes
Text.comboBoxes
TextColumn.comboBoxes
TextFrame.comboBoxes
TextStyleRange.comboBoxes
Word.comboBoxes
XmlStory.comboBoxes
Jongware, 28-Apr-2012 v3.0.3i | Contents :: Index |