ctrlHTMLLoaded: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ")
m (Text replacement - "<sqf>([^↵][^\/]*↵[^\/]*)<\/sqf>" to "<sqf> $1 </sqf>")
 
(10 intermediate revisions by the same user not shown)
Line 8: Line 8:
|descr= Returns [[true]] when HTML content was successfully loaded.
|descr= Returns [[true]] when HTML content was successfully loaded.


|s1= '''ctrlHTMLLoaded''' control
|s1= [[ctrlHTMLLoaded]] control


|p1= control: [[Control]]
|p1= control: [[Control]]
Line 14: Line 14:
|r1= [[Boolean]]
|r1= [[Boolean]]


|x1= <code>_control [[htmlLoad]] "test.html";
|x1= <sqf>
[[if]] (![[ctrlHTMLLoaded]] _control) [[then]] {
_control htmlLoad "test.html";
    [[hint]] "Loading test.html failed!";
if (!ctrlHTMLLoaded _control) then {
hint "Loading test.html failed!";
};
};
</code>
</sqf>


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

Latest revision as of 11:35, 3 September 2024

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