ctrlHTMLLoaded: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Text replacement - " " to " ")
 
Line 16: Line 16:
|x1= <sqf>_control htmlLoad "test.html";
|x1= <sqf>_control htmlLoad "test.html";
if (!ctrlHTMLLoaded _control) then {
if (!ctrlHTMLLoaded _control) then {
    hint "Loading test.html failed!";
hint "Loading test.html failed!";
};</sqf>
};</sqf>


|seealso= [[htmlLoad]] [[Arma: GUI Configuration]]
|seealso= [[htmlLoad]] [[Arma: GUI Configuration]]
}}
}}

Latest revision as of 12:11, 27 July 2022

Hover & click on the images for description

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