TestField.GetOption([Integer]) Method

Version: Available or changed with runtime version 1.0.

Gets the options for a field on a test page.

Syntax

Result :=   TestField.GetOption([Index: Integer])

Parameters

TestField
 Type: TestField
An instance of the TestField data type.

[Optional] Index
 Type: Integer
The index of the field that you want to get the options from. This parameter is optional.

Return Value

Result
 Type: Text
The options for a field on a test page.

TestField Data Type
Get Started with AL
Developing Extensions