Version 5.5 Function Import |
DEVELOPER |
Trail: PROIV Documentation > Developer > PROIV Developer > Menus and Toolbars > Version 5.5 Function Import
When you upgrade from PROIV Version 5.5 to Version 6, the import process converts drop down menus in functions to Control Bars and Action Controls.
Note: Version 5.5 drop down menus are not supported in the kernel, but are supported in the client. |
The conversion process transforms Version 5.5 menus in the following ways:
Creates Control Bars - The conversion process uses the menu legend of the Version 5.5 menus for Version 6 Control Bars.
Creates Action Controls - The conversion process combines the menu caption and the menu item caption to produce the Action Control name.
Generates Overloads - The conversion process takes the Version 5.5 drop down menus referenced in functions and performs the following steps:
Control Bars are referenced in the appropriate functions and cycles.
Action Controls are made visible and enabled as appropriate.
Action Controls are assigned the same action they had in Version 5.5. This is a Function Key number.
The Action Control name is limited to 32 characters. Legacy menu legends can be 20 characters long, and legacy menu item legends can also be up to 20 characters long. This gives a potential 40 character Action Control name. In this case, a system message displays and you can enter a new name, or allow PROIV to assign a new name. New names must be unique and cannot contain spaces. Following a successful import all of the imported functions must be regenned.
Click here to see an example screenshot displaying a system message prompting for new Action Controls names.
Click here to see an example screenshot of the Control Bars and Action Controls Maintenance window. This contains the original Version 5.5 names and the new shorter names.
The sort order of the Action Controls after the conversion process may require changing and you can reorder the Action Controls by selecting a Control on the Control Bars and Action Controls Maintenance window and clicking the Properties . You can then use the Move Up and Move Down s to re-order the Action Controls.
Click here to see an example screenshot of the Editing Control Bar window.
If you have shared menu names in Version 5.5 with captions appearing on multiple menus, the conversion process lists all of the generated Action Controls from the multiple menus against the selected Control Bar in Version 6. Therefore the Control Bar will have more Action Controls listed than the number of items on the original Version 5.5 menu. However, runtime behaviour is unchanged. A menu may now have more items against it, but in every function where it is referenced, only the correct ones are visible.
Topic ID: 500502