%HI_SetEditEnable, %HI_GetEditEnable functions


Function
The function %HI_SetEditEnable enables/disables editing the text in the specified item of the displayer of the Browser type (control function).

The function %HI_GetEditEnable detects whether editing the text in the specified item of the displayer of the Browser type is possible or not.
Declaration
%HI_SetEditEnable(
   INT in refId, 
   INT in row, 
   INT in col, 
   BOOL in bEnable
 ) 

 BOOL %HI_GetEditEnable(
   INT in refId, 
   INT in row, 
   INT in col
 )
Parameters
refIdReference to the graphic object  (reference variable).
rowItem row.
colItem column.
bEnable@TRUE - enable editing the item.
@FALSE - disable editing the item.
Example
; change editing the item placed in 2nd row and 3rd column
BOOL _bEnable
_bEnable := %HI_GetEditEnable(_browser, 3, 2)
_bEnable := !_bEnable
%HI_SetEditEnable(_browser, 3, 2,  _bEnable)

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ť .