ctrlSetURL: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Bottom Section</h3>" to "") |
||
Line 33: | Line 33: | ||
<!-- END Note Section --> | <!-- END Note Section --> | ||
</dl> | </dl> | ||
Revision as of 14:08, 18 January 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
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 ]][[ Category: arma3dev: New Scripting Commands | CTRLSETURL]][[ Category: arma3dev: Scripting Commands | CTRLSETURL]]