Torque 3D - Script Manual: GuiProgressCtrl Class Reference

TorqueScript

Main   Class List   Namespace List   Online

GuiProgressCtrl Class Reference
[Value Controls]

GUI Control which displays a horizontal bar which increases as the progress value of 0.0 - 1.0 increases. More...

Inheritance diagram for GuiProgressCtrl:

List of all members.


Detailed Description

GUI Control which displays a horizontal bar which increases as the progress value of 0.0 - 1.0 increases.

Example:
     new GuiProgressCtrl(JS_statusBar)
    {
          //Properties not specific to this control have been omitted from this example.
     };

// Define the value to set the progress bar%value = "0.5f"

// Set the value of the progress bar, from 0.0 - 1.0
%thisGuiProgressCtrl.setValue(%value);
// Get the value of the progress bar.
%progress = %thisGuiProgressCtrl.getValue();
See also:
GuiTextCtrl
GuiControl


Copyright © GarageGames, LLC. All Rights Reserved.