getWidgetType()

Return the widget type of the specified field.

Syntax

getWidgetType(
  fieldName STRING)
  RETURNS STRING
  1. fieldName is the name of the field.

Usage

You can use it to return the widget type of a specified field to test this action in a scenario. The widget type returned can be:
  • formfield
  • table
  • tree
  • matrix
  • scrollarea
For example:
DISPLAY "The widget type is  " || ggc.getWidgetType("tbl1")