ctrlHTMLLoaded: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
||
Line 16: | Line 16: | ||
|x1= <code>_control htmlLoad "test.html"; | |x1= <code>_control htmlLoad "test.html"; | ||
if (!ctrlHTMLLoaded _control) then { | if (!ctrlHTMLLoaded _control) then { | ||
hint "Loading test.html failed!"; | |||
};</code> | };</code> | ||
|seealso= [[htmlLoad]] [[Arma: GUI Configuration]] | |seealso= [[htmlLoad]] [[Arma: GUI Configuration]] | ||
}} | }} |
Revision as of 13:04, 12 May 2022
Description
- Description:
- Returns true when HTML content was successfully loaded.
- Groups:
- GUI Control - HTML
Syntax
- Syntax:
- ctrlHTMLLoaded control
- Parameters:
- control: Control
- Return Value:
- Boolean
Examples
- Example 1:
_control htmlLoad "test.html"; if (!ctrlHTMLLoaded _control) then { hint "Loading test.html failed!"; };
Additional Information
- See also:
- htmlLoad Arma: GUI Configuration
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