ctrlSetURL: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "gr1= GUI Control|=GROUP1" to "|gr1= GUI Control|=GROUP1") |
m (Text replacement - "|Game version=" to "|Game version= |gr1= GUI Control |GROUP1= ") |
||
Line 4: | Line 4: | ||
|version= 2.01 |Game version= | |version= 2.01 |Game version= | ||
|gr1= GUI Control |GROUP1= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 09:59, 18 September 2020
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/"
Additional Information
- See also:
- See also needed
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]]