- Starting an Active WEBDEV Page of the project
MenuAddURLOption (Function) In french: MenuAjouteOptionURL
Not available
Adds a new menu option at the end of a page menu. This menu option is used to display the page corresponding to the specified URL.
// Add a new menu MenuAddMenu(_Menu, "MNU_Site", "My Site") // Add an option into the new menu MenuAddURLOption("MNU_Site", "OPT_PCSOFT", "PC Soft", "http://www.windev.com")
Syntax
<Result> = MenuAddURLOption(<Source menu> , <Option to create> , <Caption> , <Option URL>)
<Result>: Integer Position of the option in the menu. A fatal error occurs if the option was not added. <Source menu>: Menu name Name of the menu into which the menu option must be added. The menu option will be added at the end of this menu. <Option to create>: Character string Name of the menu option to add. This name will be used to handle the menu option through programming. A fatal error occurs if this name corresponds to an existing option. <Caption>: Character string Text of the new menu option. This caption will be displayed in the page and it will allow the Web user to select the option. <Option URL>: Character string Address of the page to display when the option is selected.
|
|
|
|