%GetItemTransPalMask function


Function
This function finds a mask from transformation palette that is used for the column in a structure or structured variable.
Declaration
TEXT %GetItemTransPalMask(
   HBJ in  objRef,
   INT in col
 )

Parameters
objRef Expression of HBJ type - reference to an object Structured variable or Structure definition.
col Index of column.

Description
The function returns an invalid value, in objRef is the reference to an unknown object or the object is other type than Structured variable or Structure definition.
Moreover, it returns an invalid value, if the value of col is out of range, which is defined by the number of columns of the particular object. If the function returns the empty string, the column is not associated with the display mask.
Example
 RECORD (SD.Struct)_rec
 
 TEXT _tTransPalMask
 _tTransPalMask := %GetItemTransPalMask(SD.Struct\HBJ, 1)
 _tTransPalMask := %GetItemTransPalMask(SV.Struct\HBJ, 3)
 _tTransPalMask := %GetItemTransPalMask(_rec\HBJ, 2) 

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .