Show / Hide Table of Contents

Class NSFieldInfoListText

Syntax

Constructors

NSFieldInfoListText()

Initializes a new instance of the NSFieldInfoListText class.

Declaration
NSFieldInfoListText

Methods

GetChoices()

Declaration
String[] GetChoices()
Returns
Type Description
String[]

List of items to choose from.

Examples
NSFieldInfoListText thing;
String[] choices = thing.GetChoices();

GetDefaultValue()

Declaration
String GetDefaultValue()
Returns
Type Description
String

Default string value.

Examples
NSFieldInfoListText thing;
String defaultValue = thing.GetDefaultValue();

GetTextLength()

Declaration
Integer GetTextLength()
Returns
Type Description
Integer

Length (in characters) of a text field, 0 for other types.

Examples
NSFieldInfoListText thing;
Integer textLength = thing.GetTextLength();

SetChoices(String[])

Declaration
Void SetChoices(String[] choices)
Parameters
Type Name Description
String[] choices

List of items to choose from.

Returns
Type Description
Void
Examples
NSFieldInfoListText thing;
String[] choices;
thing.SetChoices(choices);

SetDefaultValue(String)

Declaration
Void SetDefaultValue(String defaultValue)
Parameters
Type Name Description
String defaultValue

Default string value.

Returns
Type Description
Void
Examples
NSFieldInfoListText thing;
String defaultValue;
thing.SetDefaultValue(defaultValue);

SetTextLength(Integer)

Declaration
Void SetTextLength(Integer textLength)
Parameters
Type Name Description
Integer textLength

Length (in characters) of a text field, 0 for other types.

Returns
Type Description
Void
Examples
NSFieldInfoListText thing;
Integer textLength;
thing.SetTextLength(textLength);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top