ctrlSetURL: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|pr= " to "") |
Killzone Kid (talk | contribs) No edit summary |
||
Line 21: | Line 21: | ||
|x1= <code>_control [[ctrlSetURL]] "<nowiki>http://arma3.com/</nowiki>"; // note the forward slash / at the end</code> | |x1= <code>_control [[ctrlSetURL]] "<nowiki>http://arma3.com/</nowiki>"; // note the forward slash / at the end</code> | ||
|seealso= [[ctrlURL]] | |seealso= [[ctrlURL]] [[menuSetUrl]] | ||
}} | }} |
Revision as of 18:28, 20 June 2021
Description
- Description:
- Sets URL property of the given control subject to allowedHTMLLoadURIs[] whitelisting in CfgCommands config. Supported controls are:
- CT_BUTTON
- CT_SHORTCUTBUTTON
- CT_ACTIVETEXT
- Groups:
- GUI Control
Syntax
- Syntax:
- control ctrlSetURL URL
- Parameters:
- control: Control
- URL: String
- Return Value:
- Nothing
Examples
- Example 1:
_control ctrlSetURL "http://arma3.com/"; // note the forward slash / at the end
Additional Information
- See also:
- ctrlURL menuSetUrl
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