ctrlSetURL

From Bohemia Interactive Community
Revision as of 09:02, 3 July 2022 by Killzone Kid (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

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