ctrlHTMLLoaded: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (arma3 category)
(added example/category)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns true when HTML content was successfully loaded.  |= Description
| Returns [[true]] when HTML content was successfully loaded.  |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 17: Line 17:




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


____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[htmlLoad]], [[Dialog Control]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  
Line 39: Line 42:
[[Category:Arma 3: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Arma 3: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]

Revision as of 14:17, 18 April 2014

Hover & click on the images for description

Description

Description:
Returns true when HTML content was successfully loaded.
Groups:
Uncategorised

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:
htmlLoadDialog Control

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

Notes

Bottom Section