OBJECT Get title
OBJECT Get title ( {* ;} object ) -> Function result
Parameter | Type | Description | |
---|---|---|---|
* | Operator | → | If specified, object is an object name (string) If omitted, object is a variable or a field |
object | any | → | Object name (if * is specified) or Variable or field (if * is omitted) |
Function result | Text | ← | Title of button |
This command is not thread-safe, it cannot be used in preemptive code.
Description
The OBJECT Get title command returns the title (label) of the form object(s) designated by object. You can use this command with all types of simple objects that contain a label:
- buttons,
- check boxes
- radio buttons
- static texts
- group areas.
If you pass the optional * parameter, you indicate that the object parameter is an object name (string). If you do not pass this parameter, you indicate that the object parameter is a field or a variable. In this case, you pass a field or variable reference (object field or variable only) instead of a string.