Functions | |
int | nsv_get_num () |
LogiView userexit for calling the number server. More... | |
static int | xjcl_lgv_map_men () |
This userexit opens the specified menu on the client and returns the selected row. More... | |
int | xpdw_lgv_ins_ref (const char *param, const char *ignore) |
More... | |
int | xpdw_lgv_obj_vie (const char *param, const char *ignore) |
More... | |
int | xpdw_lgv_rel_off (const char *param, const char *ignore) |
More... | |
int | xpdw_lgv_rel_on (const char *param, const char *ignore) |
More... | |
int | xpdw_lgv_vie_hard_on (const char *param, const char *ignore) |
More... | |
int | xpdw_lgv_vie_hard_out (const char *param, const char *ignore) |
More... | |
int | xpdw_lgv_vie_off (const char *param, const char *ignore) |
More... | |
int | xpdw_lgv_vie_on (const char *param, const char *ignore) |
More... | |
int | xpvm_cal_vie (const char *param, const char *ignore) |
More... | |
int | xpvm_cre_dat (const char *param, const char *ignore) |
More... | |
int | xutil_but_ret_act (char *param, const char *ignore) |
More... | |
int | xutil_but_ret_but (char *param, const char *ignore) |
More... | |
int | xutil_but_rfr_but (char *param, const char *ignore) |
More... | |
int | xutil_but_set_tit (char *param, const char *ignore) |
More... | |
int | xutil_call_ws (char *param, const char *ignore) |
More... | |
int | xutil_fld_get_ttl (const char *param, const char *ignore) |
More... | |
int | xutil_fld_ord (const char *param, const char *ignore) |
More... | |
int | xutil_fld_size (const char *param, const char *ignore) |
More... | |
int | xutil_fld_ttl_pos (const char *param, const char *ignore) |
More... | |
int | xutil_fld_ttl_size (const char *param, const char *ignore) |
More... | |
int | xutil_fld_ttl_vid_attr (const char *param, const char *ignore) |
More... | |
int | xutil_fld_typ (const char *param, const char *ignore) |
More... | |
int | xutil_fld_vid_attr (const char *param, const char *ignore) |
More... | |
int | xutil_iwf_def_cns (char *param, const char *ignore) |
More... | |
int | xutil_mas_get_info (const char *param, const char *ignore) |
More... | |
int | xutil_mas_get_ttl (const char *param, const char *ignore) |
More... | |
int | xutil_mas_max_rec (const char *param, const char *ignore) |
More... | |
int | xutil_mas_num_sig_fld (const char *param, const char *ignore) |
More... | |
int | xutil_mas_pos (const char *param, const char *ignore) |
More... | |
int | xutil_mas_ret_acc_fld (char *param, const char *ignore) |
More... | |
int | xutil_mas_ret_drt_rec (char *param, const char *ignore) |
More... | |
int | xutil_mas_ret_fld (char *param, const char *ignore) |
More... | |
int | xutil_mas_ret_flg_rec (char *param, const char *ignore) |
More... | |
int | xutil_mas_ret_joi_mas (char *param, const char *ignore) |
More... | |
int | xutil_mas_ret_tit_mas (char *param, const char *ignore) |
More... | |
int | xutil_mas_scl_bhv (const char *param, const char *ignore) |
More... | |
int | xutil_mas_set_joi_mas (char *param, const char *ignore) |
More... | |
int | xutil_mas_set_tit_mas (char *param, const char *ignore) |
More... | |
int | xutil_mas_size (const char *param, const char *ignore) |
More... | |
int | xutil_mas_tit_fld (char *param, const char *ignore) |
More... | |
int | xutil_wdg_ret_act (char *param, const char *ignore) |
More... | |
int | xutil_wdg_ret_mas (char *param, const char *ignore) |
More... | |
int nsv_get_num | ( | ) |
LogiView userexit for calling the number server.
This userexit generates a new number for the given number circle.
cp_Parameter | Parameter to control the behavior of this userexit. Syntax is: CIRLCE_NAME,STR_NUM With following arguments:
|
0 | OK |
1 | Error |
|
static |
This userexit opens the specified menu on the client and returns the selected row.
cpPar | string containing these LogiView parameters:
|
cpIgn | ignored |
int xpdw_lgv_ins_ref | ( | const char * | param, |
const char * | ignore | ||
) |
Creates a new entry in the multi access rights view table to add a multi access rights view for an object.
usxContext | The userexit context. | |||||||||||||||
param | Parameter to control the behavior of this userexit. Syntax is: "principalCid objectCid objectTable iStatus iAktiv" With possible arguments:
|
0 | OK |
---|---|
1 | Error |
int xpdw_lgv_obj_vie | ( | const char * | param, |
const char * | ignore | ||
) |
Checks if a specific object is visible in a specific project or organizational unit. This userexit can be used from a LogiView procedure to check if a specific object is visible in a specific project or organizational unit. Only the direct VIE
views are used, the project inheritance is not taken into count.
usxContext | The userexit context. | ||||||||||||
param | Parameter to control the behavior of this userexit. Syntax is: "principalCid objectCid pdwTable isVisible" With possible arguments:
|
0 | OK |
---|---|
1 | Error |
int xpdw_lgv_rel_off | ( | const char * | param, |
const char * | ignore | ||
) |
Sets the default parameter RELATIONLOCK
to OFF
.
usxContext | The userexit context. |
param | Reserved. |
0 | OK |
---|---|
1 | Error |
int xpdw_lgv_rel_on | ( | const char * | param, |
const char * | ignore | ||
) |
Sets the default parameter RELATIONLOCK
to ON
.
usxContext | The userexit context. |
param | Reserved. |
0 | OK |
---|---|
1 | Error |
int xpdw_lgv_vie_hard_on | ( | const char * | param, |
const char * | ignore | ||
) |
Reactivates the multi access rights views. Unlike xpdw_lgv_vie_on
, this userexit simply enables the multi access rights views, no matter if they have been disabled more than once with xpdw_lgv_vie_off
.
xpdw_lgv_vie_hard_out
!usxContext | The userexit context. |
param | Reserved. |
0 | OK |
---|---|
1 | Error |
int xpdw_lgv_vie_hard_out | ( | const char * | param, |
const char * | ignore | ||
) |
Disables the multi access rights views. Unlike xpdw_lgv_vie_off
, this userexit directly disables the multi access rights views, no matter if they have been enabled more than once with xpdw_lgv_vie_on
.
xpdw_lgv_vie_hard_on
.usxContext | The userexit context. |
param | Reserved. |
0 | OK |
---|---|
1 | Error |
int xpdw_lgv_vie_off | ( | const char * | param, |
const char * | ignore | ||
) |
Sets the global multi access view. This userexit can be called from LogiView to disable the multi access rights views so that all objects are visible. Unlike xpdw_lgv_vie_hard_out
, this userexit has to be called together with xpdw_lgv_vie_on
.
xpdw_lgv_vie_on
.usxContext | The userexit context. |
param | Reserved. |
0 | OK |
---|---|
1 | Error |
int xpdw_lgv_vie_on | ( | const char * | param, |
const char * | ignore | ||
) |
Reactivates the multi access rights views. This userexit can be called from LogiView to reactivate the multi access rights views when they have been disabled before. Unlike xpdw_lgv_vie_hard_on
, this userexit has to be called together with xpdw_lgv_vie_off
and reactivates the multi access rights views only if the top call level has been reached.
xpdw_lgv_vie_off
.usxContext | The userexit context. |
param | Reserved. |
0 | OK |
---|---|
1 | Error |
int xpvm_cal_vie | ( | const char * | param, |
const char * | ignore | ||
) |
Calls the viewer. The viewer uses the data stored in table T_PVM_FIL_DAT which was filled by xpvm_cre_dat.
usxContext | The userexit context. | ||||||||||||||||||||||||||||||||||||
param | Parameter to control the behavior of this function. Syntax is: "ViewMode, FileCid, ViewId, DocId, GuiFile, EciTicket, Content, ResultErrcode
|
0 | OK |
---|---|
1 | Data could not processed. |
public logiview
int xpvm_cre_dat | ( | const char * | param, |
const char * | ignore | ||
) |
Collects and prepares the data needed by the viewer. The data is stored in table T_PVM_FIL_DAT.
usxContext | The userexit context. | ||||||||||||||||||||||||
param | Parameter to control the behavior of this function. Syntax is: "AppCmd, ViewMode, FileCid, DocCid, ResultViewId"
|
0 | OK |
---|---|
-1 | Data could not processed. |
1 | Not all files local available |
public logiview
int xutil_but_ret_act | ( | char * | param, |
const char * | ignore | ||
) |
Userexit that returns the ID of the button menu which was activated last, or returns 0. (Port of former TCL functions)
context | Userexit context |
cpParam | Ignored |
0 | No active button menu |
---|---|
-3 | Exception occurred, error is printed |
Else | The ID of the last activated button menu |
public logiview
int xutil_but_ret_but | ( | char * | param, |
const char * | ignore | ||
) |
Userexit that returns the button menu ID for a button menu name. (Port of former TCL functions)
context | Userexit context | ||
cpParam | Parameter that is divided into the following arguments.
|
0 | Button menu does not exist |
---|---|
-1 | Parameter is missing |
-3 | Exception occurred, error is printed |
Else | ID of the button menu |
public logiview
int xutil_but_rfr_but | ( | char * | param, |
const char * | ignore | ||
) |
Userexit that refreshes the button menu in the mask after a change. (Port of former TCL functions)
context | Userexit context | ||||
cpParam | Parameter that is divided into the following arguments.
|
1 | Button menu does not exist |
---|---|
0 | OK, button menu is refreshed |
-1 | Parameter is missing |
-2 | Mask does not exist |
-3 | Exception occurred, error is printed |
public logiview
int xutil_but_set_tit | ( | char * | param, |
const char * | ignore | ||
) |
Userexit that sets a new title for a button in a button menu in the mask. (Port of former TCL functions)
context | Userexit context | ||||||
cpParam | Parameter that is divided into the following arguments.
|
1 | Wrong row position of the button selection |
---|---|
0 | OK, new title was set |
-1 | Button menu ID is wrong |
-2 | Parameter is missing |
-3 | Button menu does not exist |
-4 | Exception occurred, error is printed |
Else | New title of button cannot be set |
public logiview
int xutil_call_ws | ( | char * | param, |
const char * | ignore | ||
) |
LogiView userexit that calls a web service.
context | Userexit context | |||||||||||||||
param | LogiView parameter that is divided into the following arguments.
|
0 | OK |
---|---|
Else | Error |
-usx
int xutil_fld_get_ttl | ( | const char * | param, |
const char * | ignore | ||
) |
Userexit xutil_fld_get_ttl
to get the field title in a mask.
ctx | The userexit context. |
param | Syntax like: WidgetID, Field-Name, Field-Result-Title, [Title-Language] |
Parameter | Description | Type |
---|---|---|
WidgetID | The ID of the widget to examine | Integer |
Field-Name | The field name | String |
Field-Result-Title | The field title as returned value | String |
Title-Language | The title language shortcut as optional parameter (ENG, GER, FRA, JAP, etc) | String |
0 | OK |
1 | Failed |
int xutil_fld_ord | ( | const char * | param, |
const char * | ignore | ||
) |
Userexit xutil_fld_ord
to get the field order in a mask.
ctx | The userexit context. |
param | Syntax like: WidgetID, Field-Name, Field-Result-Order |
Parameter | Description | Type |
---|---|---|
WidgetID | The ID of the widget to examine | Integer |
Field-Name | The field name | String |
Field-Result-Order | The field order as returned value | Integer |
0 | OK |
1 | Failed |
int xutil_fld_size | ( | const char * | param, |
const char * | ignore | ||
) |
Userexit xutil_fld_size
to get the field size in a mask.
ctx | The userexit context. |
param | Syntax like: WidgetID, Field-Name, Field-Result-length, Field-Result-width, Field-Result-Virtual-Width |
Parameter | Description | Type |
---|---|---|
WidgetID | The ID of the widget to examine | Integer |
Field-Name | The field name | String |
Field-Result-length | The visable field length as returned value | Integer |
Field-Result-width | The visable field width as returned value | Integer |
Field-Result-Virtual-Width | The virtual field width as returned value | Integer |
0 | OK |
1 | Failed |
int xutil_fld_ttl_pos | ( | const char * | param, |
const char * | ignore | ||
) |
Userexit xutil_fld_ttl_pos
to get the position of field title in a mask.
ctx | The userexit context. |
param | Syntax like: WidgetID, Field-Name, Field-Result-Col, Field-Result-Row |
Parameter | Description | Type |
---|---|---|
WidgetID | The ID of the widget to examine | Integer |
Field-Name | The field name | String |
Field-Result-Col | The column of field title as returned value | Integer |
Field-Result-Row | The row of field title as returned value | Integer |
0 | OK |
1 | Failed |
int xutil_fld_ttl_size | ( | const char * | param, |
const char * | ignore | ||
) |
Userexit xutil_fld_ttl_size
to get the size of field title in a mask.
ctx | The userexit context. |
param | Syntax like: WidgetID, Field-Name, Field-Result-length, Field-Result-width |
Parameter | Description | Type |
---|---|---|
WidgetID | The ID of the widget to examine | Integer |
Field-Name | The field name | String |
Field-Result-length | The length of field title as returned value | Integer |
Field-Result-width | The width of field title as returned value | Integer |
0 | OK |
1 | Failed |
int xutil_fld_ttl_vid_attr | ( | const char * | param, |
const char * | ignore | ||
) |
Userexit xutil_fld_ttl_vid_attr
to get the video attribute of field title in a mask.
ctx | The userexit context. |
param | Syntax like: WidgetID, Field-Name, Field-Result-Title-Video |
Parameter | Description | Type |
---|---|---|
WidgetID | The ID of the widget to examine | Integer |
Field-Name | The field name | String |
Field-Result-Title-Video | The video attribute of field title as returned value | Integer |
0 | OK |
1 | Failed |
int xutil_fld_typ | ( | const char * | param, |
const char * | ignore | ||
) |
Userexit xutil_fld_typ
to get the field type.
ctx | The userexit context. |
param | Syntax like: WidgetID, Field-Name, Field-Result-Type |
Parameter | Description | Type |
---|---|---|
WidgetID | The ID of the widget to examine | Integer |
Field-Name | The field name | String |
Field-Result-Type | The field type as returned value | String |
0 | OK |
1 | Failed |
int xutil_fld_vid_attr | ( | const char * | param, |
const char * | ignore | ||
) |
Userexit xutil_fld_vid_attr
to get the video attribute of field in a mask.
ctx | The userexit context. |
param | Syntax like: WidgetID, Field-Name, Field-Result-Video |
Parameter | Description | Type |
---|---|---|
WidgetID | The ID of the widget to examine | Integer |
Field-Name | The field name | String |
Field-Result-Video | The video attribute of field as returned value | Integer |
0 | OK |
1 | Failed |
int xutil_iwf_def_cns | ( | char * | param, |
const char * | ignore | ||
) |
Userexit that recalculates the join dependencies due to the constraints or join definitions. This method must always be called if the mask join string was changed (MasSetJoiMas). (Port of former TCL functions)
context | Userexit context | ||
cpParam | Parameter that is divided into the following arguments.
|
0 | OK, join string is correct |
---|---|
-1 | Parameter is missing |
-2 | Widget does not exist |
-3 | Exception occurred, error is printed |
Else | Join string is wrong |
public logiview
int xutil_mas_get_info | ( | const char * | param, |
const char * | ignore | ||
) |
Userexit xutil_mas_get_info
to get the mask information.
The following tables show the fields of returned widgets according to the mask and fields information. C_PRX_MASK_TITLE_<LNG> and C_PRX_FIELD_TITLE_<LNG> are multi language fields. All languages, which defined in "LANGUAGE_DEFAULT" for the current user, will be considered.
EDB-PRX-MASK-INFO
EDB-PRX-MASK-INFO | T_MASK |
---|---|
C_PRX_MASK_NAME | T_MASK.C_NAME |
C_PRX_MASK_TITLE_<LNG> | T_MASK.C_TITLE_<LNG> |
C_PRX_MASK_POS_COL | T_MASK.C_COL |
C_PRX_MASK_POS_ROW | T_MASK.C_ROW |
C_PRX_MASK_SCR_BEH | T_MASK.C_VER_BAR |
C_PRX_MASK_MAX_RECORD | T_MASK.C_MAXREC |
C_PRX_MASK_SIG_FLD | T_MASK.C_SIGNUM |
C_PRX_MASK_SIZ_X | T_MASK.C_WID |
C_PRX_MASK_SIZ_Y | T_MASK.C_LEN |
EDB-PRX-FIELDS-INFO
EDB-PRX-FIELDS-INFO | T_FIELD;T_MAS_FLD |
---|---|
C_PRX_FIELD_NAME | T_FIELD.C_NAME |
C_PRX_FIELD_TITLE_<LNG> | T_MAS_FLD.C_TITLE_<LNG>, T_FIELD.C_TITLE_<LNG> |
C_PRX_FIELD_TLT_POS_COL | T_MAS_FLD.C_COL_TIT |
C_PRX_FIELD_TLT_POS_ROW | T_MAS_FLD.C_ROW_TIT |
C_PRX_FIELD_TLT_SIZ_X | T_MAS_FLD.C_WID_TIT |
C_PRX_FIELD_TLT_SIZ_Y | T_MAS_FLD.C_LEN_TIT |
C_PRX_FIELD_TLT_VID_ATTR | T_MAS_FLD.C_VID_TIT |
C_PRX_FIELD_ORD | T_MAS_FLD.C_SORT |
C_PRX_FIELD_SIZ_X | T_MAS_FLD.C_WID_VIS |
C_PRX_FIELD_SIZ_Y | T_MAS_FLD.C_LEN_VIS |
C_PRX_FIELD_VIR_WID | T_MAS_FLD.C_WID_VIR |
C_PRX_FIELD_TYP | T_FIELD.C_TYPE |
C_PRX_FIELD_VID_ATTR | T_FIELD.C_VIDEO |
ctx | The userexit context. |
param | Syntax like: WidgetID, Mask-Result-ID, Field-Result-ID |
Parameter | Description | Type |
---|---|---|
WidgetID | The ID of the widget to examine | Integer |
Mask-Result-ID | The ID of EDB-PRX-MASK-INFO as returned value | Integer |
Field-Result-ID | The ID of EDB-PRX-FIELDS-INFO as returned value | Integer |
0 | OK |
1 | Failed |
int xutil_mas_get_ttl | ( | const char * | param, |
const char * | ignore | ||
) |
Userexit xutil_mas_get_ttl
to get the mask title in specified language.
ctx | The userexit context. |
param | Syntax like: WidgetID, Mask-Title [, Title-Language] |
Parameter | Description | Type |
---|---|---|
WidgetID | The ID of the widget to examine | Integer |
Mask-Title | The mask title as returned value | String |
Title-Language | The title language shortcut as optional parameter (ENG, GER, FRA, JAP, etc.) | String |
0 | OK |
1 | Failed |
int xutil_mas_max_rec | ( | const char * | param, |
const char * | ignore | ||
) |
Userexit xutil_mas_max_rec
to get the records limit of a mask.
ctx | The userexit context. |
param | Syntax like: WidgetID, Mask-Result-Limit |
Parameter | Description | Type |
---|---|---|
WidgetID | The ID of the widget to examine | Integer |
Mask-Result-Limit | The records limit of a mask as returned value | Integer |
0 | OK |
1 | Failed |
int xutil_mas_num_sig_fld | ( | const char * | param, |
const char * | ignore | ||
) |
Userexit xutil_mas_num_sig_fld
to get the count of signed fields in a mask.
ctx | The userexit context. |
param | Syntax like: WidgetID, Mask-Result-Signed |
Parameter | Description | Type |
---|---|---|
WidgetID | The ID of the widget to examine | Integer |
Mask-Result-Signed | The count of signed fields in a mask as returned value | Integer |
0 | OK |
1 | Failed |
int xutil_mas_pos | ( | const char * | param, |
const char * | ignore | ||
) |
Userexit xutil_mas_pos
to get mask size.
ctx | The userexit context. |
param | Syntax like: WidgetID, Mask-Result-Column, Mask-Result-Row |
Parameter | Description | Type |
---|---|---|
WidgetID | The ID of the widget to examine | Integer |
Mask-Result-Column | The column of mask position as returned value | Integer |
Mask-Result-Row | The row of mask position as returned value | Integer |
0 | OK |
1 | Failed |
int xutil_mas_ret_acc_fld | ( | char * | param, |
const char * | ignore | ||
) |
Userexit that returns the access flag for a field in the mask. Allowed Values are :
'0' | Invisible (0 as character) |
---|---|
'r' | Read only |
'w' | Writable |
'm' | Mandatory |
'*' | Modus specific |
(Port of former TCL functions)
context | Userexit context | ||||||
cpParam | Parameter that is divided into the following arguments.
|
0 | OK, Access flag can be read and is returned as third parameter |
---|---|
-1 | Parameter is missing |
-2 | Mask does not exist |
-3 | Field does not exist in mask |
-4 | Exception occurred, error is printed |
Else | Access flag of field cannot be read |
public logiview
int xutil_mas_ret_drt_rec | ( | char * | param, |
const char * | ignore | ||
) |
Userexit that returns the dirty flag for a record in the mask. Allowed Values are :
0 | Record is clean, not modified | 'm' | Record is modified |
---|
(Port of former TCL functions)
context | Userexit context | ||||||
param | Parameter that is divided into the following arguments.
|
0 | OK, dirty flag can be read and is returned as third parameter |
---|---|
-1 | Parameter is missing |
-2 | Mask does not exist |
-3 | Exception occurred, error is printed |
Else | Dirty flag of field cannot be read |
public logiview
int xutil_mas_ret_fld | ( | char * | param, |
const char * | ignore | ||
) |
Userexit that returns the field id for the field name in the mask. (Port of former TCL functions)
context | Userexit context | ||||
cpParam | Parameter that is divided into the following arguments.
|
0 | Field does not exist in mask |
---|---|
-1 | Parameter is missing |
-2 | Mask does not exist |
-3 | Exception occurred, error is printed |
Else | Id of the field |
public logiview
int xutil_mas_ret_flg_rec | ( | char * | param, |
const char * | ignore | ||
) |
Userexit that returns the current flag for a record in the mask. Allowed Values are :
0 | Record not existing |
---|---|
'-' | Record not selected |
'+' | Record selected |
'm' | Record modified |
(Port of former TCL functions)
context | Userexit context | ||||||
cpParam | Parameter that is divided into the following arguments.
|
0 | OK, record flag can be read and is returned as third parameter |
---|---|
-1 | Parameter is missing |
-2 | Mask does not exist |
-3 | Exception occurred, error is printed |
Else | Record flag of field cannot be read |
public logiview
int xutil_mas_ret_joi_mas | ( | char * | param, |
const char * | ignore | ||
) |
Userexit that returns the join string of the mask. (Port of former TCL functions)
context | Userexit context | ||||
cpParam | Parameter that is divided into the following arguments.
|
0 | OK, join string can be read and is returned as second parameter |
---|---|
-1 | Parameter is missing |
-2 | Mask does not exist |
-3 | Exception occurred, error is printed |
Else | No join string is set |
public logiview
int xutil_mas_ret_tit_mas | ( | char * | param, |
const char * | ignore | ||
) |
Userexit that returns the title string for the mask. (Port of former TCL functions)
context | Userexit context | ||||
cpParam | Parameter that is divided into the following arguments.
|
0 | OK, mask title can be read and is returned as second parameter |
---|---|
-1 | Parameter is missing |
-2 | Mask does not exist |
-3 | Exception occurred, error is printed |
Else | Reading the mask title failed |
public logiview
int xutil_mas_scl_bhv | ( | const char * | param, |
const char * | ignore | ||
) |
Userexit xutil_mas_scl_bhv
to get the mask scroll behaviour.
ctx | The userexit context. |
param | Syntax like: WidgetID, Mask-Result-Scroll |
Parameter | Description | Type |
---|---|---|
WidgetID | The ID of the widget to examine | Integer |
Mask-Result-Scroll | The mask scroll behaviour as returned value | Integer |
0 | OK |
1 | Failed |
int xutil_mas_set_joi_mas | ( | char * | param, |
const char * | ignore | ||
) |
Userexit that sets a new join string for the mask. (Port of former TCL functions)
context | Userexit context | ||||
cpParam | Parameter that is divided into the following arguments.
|
0 | OK, join string can be set |
---|---|
-1 | Parameter is missing |
-2 | Mask does not exist |
-3 | Exception occurred, error is printed |
Else | Setting a new join string failed |
public logiview
int xutil_mas_set_tit_mas | ( | char * | param, |
const char * | ignore | ||
) |
Userexit that sets a new title string for the mask. (Port of former TCL functions)
context | Userexit context | ||||
cpParam | Parameter that is divided into the following arguments.
|
0 | OK, mask title is set | -1 | Parameter is missing | |
---|---|---|---|---|
-2 | Mask does not exist | |||
-3 | Exception occurred, error is printed | |||
Else | Setting the new mask title failed |
public logiview
int xutil_mas_size | ( | const char * | param, |
const char * | ignore | ||
) |
Userexit xutil_mas_size
to get mask size.
ctx | The userexit context. |
param | Syntax like: WidgetID, Mask-Result-Width, Mask-Result-Length |
Parameter | Description | Type |
---|---|---|
WidgetID | The ID of the widget to examine | Integer |
Mask-Result-Width | The mask width as returned value | Integer |
Mask-Result-Length | The mask length as returned value | Integer |
0 | OK |
1 | Failed |
int xutil_mas_tit_fld | ( | char * | param, |
const char * | ignore | ||
) |
Userexit that sets a new title for a field in the mask. (Port of former TCL functions)
context | Userexit context | ||||||
cpParam | Parameter that is divided into the following arguments.
|
0 | OK, new title was set |
---|---|
-1 | Parameter is missing |
-2 | Mask does not exist |
-3 | Field does not exist in mask |
-4 | Exception occurred, error is printed |
Else | New title of field cannot be set |
public logiview
int xutil_wdg_ret_act | ( | char * | param, |
const char * | ignore | ||
) |
Userexit that returns the ID of the current active widget. (Port of former TCL functions)
context | Userexit context |
cpParam | Ignored |
0 | No active widget |
---|---|
-3 | Exception occurred, error is printed |
Else | The ID of the active widget |
public logiview
int xutil_wdg_ret_mas | ( | char * | param, |
const char * | ignore | ||
) |
Userexit that returns the ID of the mask for the widget. (Port of former TCL functions)
context | Userexit context | ||
cpParam | Parameter that is divided into the following arguments.
|
0 | No mask found |
---|---|
-1 | Parameter is missing |
-2 | Widget does not exist |
-3 | Exception occurred, error is printed |
Else | The ID of the mask |
public logiview