|
|
|
|
- Opening an Active WEBDEV Page
<Menu>.AddURLOption (Function) In french: <Menu>.AjouteOptionURL
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 _Menu.AddMenu("MNU_Site", "My Site") // Add an option into the new menu MNU_Site.AddURLOption("OPT_PCSOFT", "PC Soft", "http://www.windev.com") Syntax
<Result> = <Source menu>.AddURLOption(<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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|