%HI_SetEditEnable, %HI_GetEditEnable functions


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

The function %HI_GetEditEnable detects whether editing the text in the specified item of the displayer of 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
refId Reference to graphic object (reference variable).
row Item row.
col Item 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)

Napíšte komentár