Input Parameters | Significance |
char *ent_mas |
name of the entity [> < = from widget name of the type [> < = selection menu] name of the form[> < = default form] |
Output Parameters | Significance |
none | - |
Return Code | Significance |
0 | no error |
1 | wrong entity name |
2 | specified type does not exist |
3 | no access to the type granted |
4 | no form defined for the type |
GLB_RET_BRK | menu cancelled < glbdef.h > |
Can be invoked as on_select-userexit in any menu or on_event-userexit in any state of the user interface.
If you invoke the function from the widget menu, You may not pass the entity (is read from the active widget automatically).
You can only pass a type together with the entity.
If you do not pass a type, DataView will create a selection menu containing all type-derivatives of the entity.
You can only pass a form together with the type.
If you do not pass any form, DataView will create the widget with the default type-form specified in the type-definition.
All parameters must be separated by spaces.