ctrlSetURL: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "gr1= GUI Control|=GROUP1" to "|gr1= GUI Control|=GROUP1") |
Killzone Kid (talk | contribs) No edit summary |
||
(26 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|game1= | |game1= arma3 | ||
|version1= 2.02 | |||
| | |gr1= GUI Control | ||
|descr= Sets URL property of the given control subject to | |descr= Sets URL property of the given control subject to {{hl|allowedHTMLLoadURIs[]}} whitelisting in [[CfgCommands]] config. Supported controls are: | ||
* | * {{hl|CT_BUTTON}} | ||
* | * {{hl|CT_SHORTCUTBUTTON}} | ||
* | * {{hl|CT_ACTIVETEXT}} | ||
|s1= control [[ctrlSetURL]] URL | |||
|s1= control [[ctrlSetURL]] URL | |||
|p1= control: [[Control]] | |p1= control: [[Control]] | ||
|p2= URL: [[String]] | |p2= URL: [[String]] | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>_control ctrlSetURL "http://arma3.com/";</sqf> | ||
|seealso= | |seealso= [[ctrlURL]] [[menuSetURL]] | ||
}} | }} | ||
Latest revision as of 08:02, 3 July 2022
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:
- 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