Torque 3D - Script Manual: GuiTextEditSliderCtrl Class Reference

TorqueScript

Main   Class List   Namespace List   Online

GuiTextEditSliderCtrl Class Reference
[Core Controls]

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

Inheritance diagram for GuiTextEditSliderCtrl:

List of all members.

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.

Detailed Description

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

Example:
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.
};
See also:
GuiTextEditCtrl

Member Data Documentation

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

Character format type to place in the control.

How far to increment the slider on each step.

Maximum vertical and horizontal range to allow in the control.



Copyright © GarageGames, LLC. All Rights Reserved.