8. Generating Frames from Predefined Templates : The about_box Template : How You Can Call an About Box Frame
 
Share this page                  
How You Can Call an About Box Frame
To call the About box frame, you must add the following items to all frames that will use it.
Note:  If you want to implement the About command on a Help menu, you must first create the Help menu, and then add a menu button for the About command. For more information about creating menus, see Creating and Modifying Menus).
Add an event block to the script for the About menu_button (in this example, it is called about_btn):
on click menu.help.about_btn =
{
callframe My_About_Box;
}
You can also override the default application name and version number when you call the About box frame by adding appname and version parameters to your callframe statement. For example:
callframe My_About_Box(appname =
'My_Application', version = '1.0 Beta');