Datasheet

RAIS 3.0 Programmer’s Guide – Part I : Advanced Customization
35
After the new menu has been validated, records that have been added to both the [Propagator
Menu Selector] and [Treeview] tables need be copied to the RAIS 3.0 Creator. The new
form created [Custom Hello World] also needs to be copied to the Creator (see section 3.2
for more details).
Notes:
Do not modify any of the menu entries created by the RAIS Creator. No data in the RAIS
back-end will be destroyed, but entering new data may become impossible.
2.10.1.2 Creating Standard Menus
Standard menus are menus displayed at the very top of the RAIS main window; they are
standard MS Windows menus. Menu points may either be located in the menu bar or in a
drop down.
Creating standard menus is not as tricky as creating treeview menus. The usual practice for
creating new objects is to create them first in the front-end and then copy them into the
creator. For standard menus, the best practice is doing all modifications directly in the RAIS
Creator.
Let’s create a new menu Custom Menu, with a sub menu called “Hello World” used to open
the custom form “Custom Hello World”. Refer to section 2.7 for creating custom forms.
Open the RAIS Creator in design mode, and locate the function MenuCreate() in the module
[RAIS Menu Creator Functions]. Replace the code section
Set v = AddPopupMenu(m, "Tools")
AddExecutableMenu v, "Search Tool", "Search"