User talk:Reacheround: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 9: Line 9:


: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. [[User:Reacheround|Reacher]] 12:32, 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. [[User:Reacheround|Reacher]] 12:32, 29 Dec 2006 (PST)
== Could not load library client ==
I am getting this error when I start my mod.  Not sure what I did to break it, but a rebuild of the solution does not fix it.  I can run my mod by using applaunch 220, but creating a server fails.  Using applaunch 215 generates the error.  Any ideas? [[User:Reacheround|Reacher]] 23:57, 28 Dec 2006 (PST)

Revision as of 19:17, 29 December 2006

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)