ShowHideFieldsBehaviors

A collection of show/hide fields behavior objects.

Methods

ShowHideFieldsBehavioradd ([withProperties:
Object])
Creates a new ShowHideFieldsBehavior.

Parameter Type Description
withProperties Object Initial values for properties of the new ShowHideFieldsBehavior (Optional)

ShowHideFieldsBehavioranyItem ()
Returns any ShowHideFieldsBehavior in the collection.

number count ()
Displays the number of elements in the ShowHideFieldsBehavior.

Array of ShowHideFieldsBehavioreveryItem ()
Returns every ShowHideFieldsBehavior in the collection.

ShowHideFieldsBehaviorfirstItem ()
Returns the first ShowHideFieldsBehavior in the collection.

ShowHideFieldsBehavioritem (index:
any)
Returns the ShowHideFieldsBehavior with the specified index or name.

Parameter Type Description
index Long Integer
String
The index or name. Can accept: Long Integer or String.

ShowHideFieldsBehavioritemByID (id:
number)
Returns the ShowHideFieldsBehavior with the specified ID.

Parameter Type Description
id number The ID.

ShowHideFieldsBehavioritemByName (name:
string)
Returns the ShowHideFieldsBehavior with the specified name.

Parameter Type Description
name string The name.

Array of ShowHideFieldsBehavioritemByRange (from:
any, to:
any)
Returns the ShowHideFieldsBehaviors within the specified range.

Parameter Type Description
from ShowHideFieldsBehavior
Long Integer
String
The ShowHideFieldsBehavior, index, or name at the beginning of the range. Can accept: ShowHideFieldsBehavior, Long Integer or String.
to ShowHideFieldsBehavior
Long Integer
String
The ShowHideFieldsBehavior, index, or name at the end of the range. Can accept: ShowHideFieldsBehavior, Long Integer or String.

ShowHideFieldsBehaviorlastItem ()
Returns the last ShowHideFieldsBehavior in the collection.

ShowHideFieldsBehaviormiddleItem ()
Returns the middle ShowHideFieldsBehavior in the collection.

ShowHideFieldsBehaviornextItem (obj:
ShowHideFieldsBehavior)
Returns the ShowHideFieldsBehavior whose index follows the specified ShowHideFieldsBehavior in the collection.

Parameter Type Description
obj ShowHideFieldsBehavior The ShowHideFieldsBehavior whose index comes before the desired ShowHideFieldsBehavior.

ShowHideFieldsBehaviorpreviousItem (obj:
ShowHideFieldsBehavior)
Returns the ShowHideFieldsBehavior with the index previous to the specified index.

Parameter Type Description
obj ShowHideFieldsBehavior The index of the ShowHideFieldsBehavior that follows the desired ShowHideFieldsBehavior.

string toSource ()
Generates a string which, if executed, will return the ShowHideFieldsBehavior.

Element of:

Button.showHideFieldsBehaviors
FormField.showHideFieldsBehaviors

Leave a Comment

Previous post:

Next post: