Text area

So im making a derma menu and i want it so i can there text there when you open the
menu not like where you enter text like the text is already there (like this post) please help!


(User was banned for this post ("We speak English here, sir" - Grea$eMonkey))

Um that sentence was worded terribly but I think you’re talking about a DTextEntry; http://wiki.garrysmod.com/?title=DTextEntry

No its not waht im talking about i already knew about that. Im also terrably sorry that
i horribly worded that. im talking about when you can enter text in the lua script
so when someone sees it they see just plane text like [DermaPanel:SetTitle( “stuff” )
just not a title longer and can be put anywhere on the dermamenu.

Oh, use a paint function quick example here;
[lua]
concommand.Add(“Paintmenu”,function()
main = vgui.Create(“DFrame”)
main:MakePopup()
main:Center()
main:SetSize(500,500)
main.Paint = function()
draw.RoundedBoxEx(1,0,0,main:GetWide(),main:GetTall(),color_black)
draw.SimpleText(“Example.”,“BudgetLabel”,50,50,color_white)
end
end)
[/lua]

ok ill try it

[editline]15th June 2011[/editline]

i get a blank untitled derma menu…

Are you talking about a Label?