Editable panels

Hey, I’m working on a gamemode and as a part of it I created custom panels in vgui.
Later, I wanted to use DTextEntry, but i can’t - the wiki says you can only use it when one of the parents is an “Editable Panel” (Dafuq is that?).
How do I make my own panels editable?

bump?

Probably means THIS

no… Anyway - tried to deriving it from EditablePanels (like DFrames) and it didnt work…

show us your code

which one? Frame or DTextEntry?

Well for a DTextEntry to work it needs to be focused… I will assume that Garry called it ‘editable’ for convenience.

Also, you should show both parts of your code, errors can be misleading sometimes.

The panel code is long, which part should i post? And the frame that uses it is:
local dte = vgui.Create(“DTextEntry”, THECUSTOMFRAME)
dte:SetSize(250,20)
dte:SetPos(135,365)

SetSize doesn’t exist for DTextEntry I would advise you to look at the wiki if you have any derma problems.
http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index5fee.html?title=DTextEntry
You would use:
[lua]
local dte = vgui.Create(“DTextEntry”, THECUSTOMFRAME)
dte:SetPos(135,365)
dte:SetWide(220)
dte:SetTall(20)
[/lua]

For future reference TextEntry uses SetSize.

thanks - but it did work and it didnt error…
Also, the wiki shows SetSize…

The wiki shows SetSize for TextEntry not “D” for derma TextEntry.