DNumSlider/ValueChanged

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m (Self arg implied with colon.)
(Internal, sp.)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
{{PanelFunc
 
{{PanelFunc
 +
|Description={{Internal}} Called when the value has been changed. This will also be called when the user manually changes the value through the text panel.
 +
 +
This is an internal function. Override {{ClassFunction|DNumSlider|OnValueChanged}} instead.
 
|Parent=DSlider
 
|Parent=DSlider
 
|Name=ValueChanged
 
|Name=ValueChanged
|Description=Called when the value has been changed. This will also be called when the user manually changes the value trough the text panel.
 
 
}}
 
}}
 
{{Arg
 
{{Arg

Latest revision as of 19:23, 22 February 2016

 DNumSlider:ValueChanged( )

DescriptionPanelFunc

This is an internal function or feature.
This means you will be able to use it, but you really shouldn't.
Called when the value has been changed. This will also be called when the user manually changes the value through the text panel.

This is an internal function. Override DNumSlider:OnValueChanged instead.

Arguments

number value

The value the slider has been changed to.
Personal tools
Navigation