Garry's Mod Wiki

Garry's Mod Wiki

  DTextEntry:SetTextColor( table color )


Sets the text color of the DTextEntry.


1 table color
The text color. Uses the Color.


Changes the text color inside the DTextEntry to the color red.

local Frame = vgui.Create("DFrame") Frame:SetSize(200,200) Frame:Center() Frame:MakePopup() local TextEntry = vgui.Create("DTextEntry", Frame) TextEntry:SetSize(180,20) TextEntry:SetPos(10,80) TextEntry:SetTextColor(Color(255,20,20)) TextEntry:SetValue("Basic Text")

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...