DNumSlider.SetMin

From GMod Wiki

Jump to: navigation, search
Function
Syntax DNumSlider:SetMin( Number Min )
Description:
Sets the minimum slider number.
Returns: nil
In Object: DNumSlider
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DNumSlider.SetMin]DNumSlider.SetMin [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionSets Min to 2
Used onNewerClient.png
Code
local NumSlider = vgui.Create( "DNumSlider", Frame )
NumSlider:SetPos( 25, 100 )
NumSlider:SetWide( 150 )
NumSlider:SetMin( 2 )
NumSlider:SetMax( 10 )
OutputA number slider with a minimum number of 2


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox