- Opening an Active WEBDEV Page
MenuAddURLOption (Function) In french: MenuAjouteOptionURL
Not available
Adds a new option after the last option of a drop-down or context menu. This menu option opens the page that corresponds 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. If the option is not added, a fatal error occurs. <Source menu>: Menu name Name of the menu to which the menu option should be added. The option will be added after the last option in this menu. Remark: This name can correspond to a context menu. <Option to create>: Character string Name of the menu option to add. This name will be used to programmatically handle the menu option. If there is an option with the same name, a fatal error occurs. <Caption>: Character string Text of the new menu option. This text will be displayed in the page and will allow users to select the option. <Option URL>: Character string Address of the page to open when the option is selected.
|
|
|
|