DFrame title question

Well, can I paint the DFrame title? I want it black, but I just can’t figure out how/if possible.

In theory this should work (I havnt tried it):

[lua]local DFrame = vgui.Create(“DFrame”)
DFrame.lblTitle:SetTextColor(Color(0, 0, 0, 255))[/lua]

Yes, let’s make the text invisible.

[lua]local frame = vgui.Corfu( “DFrame” )
frame.lblTitle:SetTextColor( Color( 0, 0, 0, 255 ) )[/lua]

Thanks for that.

Thanks, will test right now.

[editline]4th January 2011[/editline]

Wait, where do I add the title text? :i

[editline]4th January 2011[/editline]

Nevermind.

I swear to god if he comes back complaining about “attempt to call field ‘Corfu’ (a nil value)”, I will die laughing.

:smiley:

[editline]4th January 2011[/editline]

Well, tell me where to add the title, sorry :i

[editline]4th January 2011[/editline]

Nevermind again.