User talk:Reacheround
Jump to navigation
Jump to search
VGUI Builder problem
I'm trying to create a PropertyDialog with several PropertyPages. I can display it fine, but I can't seem to get the VGUI builder displayed to edit my controls. Has anyone done this before?
You should edit the pages on a regular panel, then use those as the res files—ts2do 14:45, 27 Dec 2006 (PST)
- Thanks for the tip. Here's what I understand so far. The PropertyDialog manages a list of Panels and each Panel will have it's own .res file. Will the PropertyDialog have it's own .res file too? Also, I created a class derived off of Panel but was unable to edit it via the VGUI builder. I could do it when I derived off of Frame though. Reacher 08:39, 28 Dec 2006 (PST)
- I meant to say Frame xD...well, the PropertyDialog does not need its own res...if you want to make a frame with custom stuff on it, I think there's a way to do that with PropertyPanel or something like that—ts2do 11:48, 29 Dec 2006 (PST)
- I managed to get it working. I did make a .res file for the PropertyDialog, to just setup an initial position and size, but I guess it would work without one. My main concern was why the VGUI builder was not being displayed. Then I saw the ActivateBuildMode() implementation for PropertyDialog and it suppresses the builder if there are no EditablePanels contained within the dialog. Reacher 12:32, 29 Dec 2006 (PST)