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