DNumPad

From GMod Wiki

Jump to: navigation, search
Derma Control: DNumPad
Parent Class:DPanel
Subclasses:
Description:
A loverly multi-use numpad.

Examples

DescriptionCreates a DNumPad
Used onNewerClient.png
Code
local Frame = vgui.Create( "DFrame" )
Frame:SetSize( 150,150 )
Frame:Center()
Frame:SetTitle( "Test Derma" )
Frame:MakePopup()
 
local NumPad = vgui.Create( "DNumPad", Frame )
NumPad:SetPos( 40, 40 )
OutputDNumPad.PNG


Methods

NewerClient.png DNumPad.ButtonPressed
NewerClient.png DNumPad.GetValue
NewerClient.png DNumPad.OnButtonPressed
NewerClient.png DNumPad.SetSelected
NewerClient.png DNumPad.SetValue
NewerClient.png DNumPad.Think

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox