Torque3D Documentation / _generateds / GuiTextEditSliderCtrl

GuiTextEditSliderCtrl

consoledoc.h

GUI Control which displays a numerical value which can be increased or decreased using a pair of arrows.

More...

Public Attributes

bool

If true, the control will accept giving focus to the user when the mouse wheel is used.

string

Character format type to place in the control.

float

How far to increment the slider on each step.

Point2F

Maximum vertical and horizontal range to allow in the control.

Detailed Description

GUI Control which displays a numerical value which can be increased or decreased using a pair of arrows.

new GuiTextEditSliderCtrl()
{
   format = "%3.2f";
   range = "-1e+03 1e+03";
   increment = "0.1";
   focusOnMouseWheel = "0";
   //Properties not specific to this control have been omitted from this example.
};

Public Attributes

bool focusOnMouseWheel 

If true, the control will accept giving focus to the user when the mouse wheel is used.

string Format 

Character format type to place in the control.

float increment 

How far to increment the slider on each step.

Point2F range 

Maximum vertical and horizontal range to allow in the control.