Revision Difference
DTextEntry:GetTextColor#550645
<function name="GetTextColor" parent="DTextEntry" type="panelfunc">
<ispanel>yes</ispanel>
<description>Returns the text color of a DTextEntry.</description>
<realm>Client</realm>⤶
<realm>Client and Menu</realm>⤶
<rets>
<ret name="" type="table">The color of the text as a <page>Color</page>.</ret>
</rets>
</function>
<example>
<code>
local TextEntry = vgui.Create( "DTextEntry" )
TextEntry:SetTextColor( Color( 255, 0, 0, 255 ))
PrintTable( TextEntry:GetTextColor() )
</code>
<output>Prints the R, G, B and A of the text color.</output>
</example>