menuSetURL: Difference between revisions
Jump to navigation
Jump to search
(page creation) |
m (added 2nd syntax) |
||
Line 9: | Line 9: | ||
| Sets weblink (URL) of given menu strip entry. |DESCRIPTION= | | Sets weblink (URL) of given menu strip entry. |DESCRIPTION= | ||
| | | [[menuSetURL]] [idc, path, link] |SYNTAX= | ||
|p1= | |p1= idc: [[Number]] |PARAMETER1= | ||
|p2= path: [[Array]] |PARAMETER2= | |p2= path: [[Array]] |PARAMETER2= | ||
|p3= link: [[String]] | | |p3= link: [[String]] |PARAMETER3= | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|s2= control [[menuSetURL]] [path, link] |ALTSYNTAX1= | |||
|p21= control: [[Control]] |PARAMETER21= | |||
|p22= path: [[Array]] |PARAMETER22= | |||
|p23= link: [[String]] |PARAMETER23= | |||
|r2= [[Nothing]] |ALTRETURNVALUE1= | |||
|x1= <Code>_ctrlMenuStrip [[menuSetURL]] [<nowiki>[</nowiki>0,0,1], "<nowiki>https://arma3.com/</nowiki>"];</code>|EXAMPLE1= | |x1= <Code>_ctrlMenuStrip [[menuSetURL]] [<nowiki>[</nowiki>0,0,1], "<nowiki>https://arma3.com/</nowiki>"];</code>|EXAMPLE1= |
Revision as of 11:11, 13 November 2020
Description
- Description:
- Sets weblink (URL) of given menu strip entry.
- Groups:
- GUI Control - Menu
Syntax
- Syntax:
- menuSetURL [idc, path, link]
- Parameters:
- idc: Number
- path: Array
- link: String
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- control menuSetURL [path, link]
- Parameters:
- control: Control
- path: Array
- link: String
- Return Value:
- Nothing
Examples
- Example 1:
_ctrlMenuStrip menuSetURL [[0,0,1], "https://arma3.com/"];
Additional Information
- See also:
- menuURL
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
[[Category:Introduced with arma3Dev version 2.01]][[ Category: arma3Dev: New Scripting Commands | MENUSETURL]][[ Category: arma3Dev: Scripting Commands | MENUSETURL]]