ctrlHTMLLoaded: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - " " to " ")
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 0.50


|0.50|Game version=
|gr1= GUI Control - HTML


|gr1= GUI Control - HTML |GROUP1=
|descr= Returns [[true]] when HTML content was successfully loaded.
____________________________________________________________________________________________


| Returns [[true]] when HTML content was successfully loaded.  |DESCRIPTION=
|s1= [[ctrlHTMLLoaded]] control
____________________________________________________________________________________________


| '''ctrlHTMLLoaded''' control |SYNTAX=
|p1= control: [[Control]]


|p1= control: [[Control]] |PARAMETER1=
|r1= [[Boolean]]


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


 
|seealso= [[htmlLoad]] [[Arma: GUI Configuration]]
|x1= <code>_control [[htmlLoad]] "test.html";
[[if]] (![[ctrlHTMLLoaded]] _control) [[then]] {
    [[hint]] "Loading test.html failed!";
};
</code>|EXAMPLE1=
 
____________________________________________________________________________________________
 
| [[htmlLoad]], [[Arma: GUI Configuration]] |SEEALSO=
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|New Scripting Commands List}}
{{GameCategory|arma3|Scripting Commands}}

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