![]() Control Bar and Action Control Definitions |
![]() DEVELOPER |
![]() |
Control Bar Header – VIPBM57
The Control Bar Definition: Header file, VIPBM57 is used to define the type and display order of a Control Bar. In Native PROIV the equivalent file was CBHDR.
VIPBM57 is defined as follows:
Seq |
Type |
Variable |
Len |
Dim |
Description |
001 |
AK |
@CB_NAME |
32 |
|
Control Bar name |
002 |
A |
@CB_DESC |
80 |
|
Description of the Control Bar |
003 |
A |
@CB_TYPE |
2 |
|
The type of this Control Bar |
004 |
N |
@CB_ORDER |
6 |
|
The display order of this Control Bar |
005 |
A |
@CB_NAME_CREATED_VIA_MIGRATE |
1 |
|
Created via v5 migration to v6? flag |
Once a Control Bar has been created and referenced within the application, its Type must not be altered.
The supported values of @CB_TYPE are as follows:
Control Bar Type |
Description |
DM |
Drop-Down Menu |
RM |
Right-Click Menu |
TB |
Toolbar |
Action Control Header – VIPBM58
The Action Control Definition: Header file, VIPBM58 is used to define the style and default behaviour of an Action Control.
VIPBM58 is defined as follows:
Seq |
Type |
Variable |
Len |
Dim |
Description |
001 |
AK |
@AC_NAME |
32 |
|
Action Control Name |
002 |
A |
@AC_DESC |
80 |
|
Description of the Action Control |
003 |
A |
@AC_STYLE |
32 |
|
Action Control Style |
004 |
A |
@AC_GLOBAL_CALL |
32 |
|
Global Function to call when Action Control is clicked |
005 |
A |
@AC_FUNCTION_LINK |
32 |
|
Function to link to when Action Control is clicked |
006 |
N |
@AC_FUNCTION_KEY |
4 |
|
Function Key to execute when Action Control is clicked |
007 |
A |
@AC_CONTROL_BAR |
32 |
|
Sub-menu to display from this Action Control |
008 |
A |
@RESERVED_VIPBM58_008 |
250 |
|
Reserved Attribute |
009 |
A |
@AC_NAME_CREATED_VIA_MIGRATE |
1 |
|
Action Control was created via V5 to V6 migration |
010 |
A |
@RESERVED_VIPBM58_010 |
32 |
|
Reserved Attribute |
Once an Action Control has been created and referenced within the application, its Style must not be altered.
The supported values of @AC_STYLE are as follows:
Action Control Style |
Description |
Check |
An Action Control that can be toggled between checked and unchecked |
DropDown |
An Action Control that opens a Drop-Down menu from a Toolbar or a nested menu from a Drop-Down or Right-Click menu. |
Separator |
A separator bar |
Simple |
An Action Control that appears as a simple on a toolbar or entry in a menu |
Split |
An Action Control that appears as a simple on a toolbar or entry in a menu, but which also has a Drop-Down or nested menu available from it. |
Action Controls used by a Control Bar – VIPBM59
The Control Bar Definition: Order of Action Control file, VIPBM59 is used to define the default order of Action Controls within a Control Bar. In Native PROIV the equivalent file was CBITEMS.
VIPBM59 is defined as follows:
Seq |
Type |
Variable |
Len |
Dim |
Description |
001 |
AK |
@CB_NAME |
32 |
|
Name of the Control Bar this order of Action Controls applies to |
002 |
AK |
@AC_ORDER |
4 |
|
Order of the Action Control in the Control Bar |
003 |
A |
@AC_NAME |
32 |
|
Name of the Action Control at this position in the Control Bar |
Action Control and Control Bar Properties – VIPBM61
The Action Control and Control Bar Properties file, VIPBM61 is used to define the default properties of Action Controls and Control Bars. In Native PROIV the equivalent file was CBACOBJ.
VIPBM61 is defined as follows:
Seq |
Type |
Variable |
Len |
Dim |
Description |
001 |
AK |
@OP_TYPE |
2 |
|
Object Type: 'CB' - Control Bar, 'AC' - Action Control |
002 |
AK |
@CB_AC_NAME |
32 |
|
Object Name |
003 |
AK |
@OP_PROPERTY_NAME |
32 |
|
Property Name |
004 |
A |
@OP_PROPERTY_VALUE |
250 |
|
Property Value |
005 |
A |
@ML_TM_OP_PROPERTY_VALUE |
1 |
|
Multilingual translation mode for property value |
006 |
A |
@ML_MN_OP_PROPERTY_VALUE |
5 |
|
Multilingual meaning code for property value |
007 |
N |
@ML_MX_OP_PROPERTY_VALUE |
4 |
|
Multilingual maximum length for property value |
Topic ID: 500675