DNumPad

From GMod Wiki

Revision as of 12:17, 25 May 2011 by SiPlus (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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