A check box would be a 1 or a 0, such as Enable Cheats? That in turn is sv_cheats 1 if enabled, or sv_cheats 0 if un-checked.
-------- Owner Nigredo Studios http://www.nigredostudios.com --- On Mon, 15/11/10, Trevor 'Drak' <dhlco...@wowway.com> wrote: From: Trevor 'Drak' <dhlco...@wowway.com> Subject: Re: [hlcoders] Creating VGUI Menus with tabs? To: "Discussion of Half-Life Programming" <hlcoders@list.valvesoftware.com> Received: Monday, 15 November, 2010, 1:55 PM Not to flood this topic. But one last thing I'd like to ask. When using the VGUI builder, I add a "CheckButton". How can I control what this does, code wise? Since I "built" it on the panel I had opened, I assume it's automatically a child of the panel. Thanks! -----Original Message----- From: Trevor 'Drak' Sent: Sunday, November 14, 2010 7:59 PM To: Discussion of Half-Life Programming Subject: Re: [hlcoders] Creating VGUI Menus with tabs? How can I set up a resource file for each page on the PropertyDialog? I tried hooking the events that the "PropertyPage" sends out when it comes in focus with: // Create the tabs at the top m_pPageMounting = new vgui::PropertyPage( this, "MountingPage" ); this->AddPage( m_pPageMounting, "Game Mounts" ); m_pPageTest = new vgui::PropertyPage( this, "TestPage" ); this->AddPage( m_pPageTest, "Test" ); m_pPageTest->AddActionSignalTarget( this ); m_pPageMounting->AddActionSignalTarget( this ); "this" is the PropertyDialog. But overriding "OnCommand" it never receives anything. -----Original Message----- From: Andrew Ritchie Sent: Saturday, November 13, 2010 1:21 AM To: Discussion of Half-Life Programming Subject: Re: [hlcoders] Creating VGUI Menus with tabs? pffft roll you're own, it's what all the cool kids do. On Sat, Nov 13, 2010 at 12:09 PM, Tony "omega" Sergi <omegal...@gmail.com>wrote: > PropertyDialog. > you create inherit PropertyPage for your panel, and add them to a > PropertyDialog. > -Tony > > > > On Sat, Nov 13, 2010 at 7:45 AM, Trevor 'Drak' <dhlco...@wowway.com> > wrote: > > > That's correct, it's used in the MP3 Player example. My bad, thank you! > :D > > -----Original Message----- From: Saul Rennison > > Sent: Friday, November 12, 2010 5:32 PM > > To: Discussion of Half-Life Programming > > Subject: Re: [hlcoders] Creating VGUI Menus with tabs? > > > > > > It's a VGUI control called PropertySheet I think :D > > > > Thanks, > > - Saul. > > > > > > On 12 November 2010 22:20, Trevor 'Drak' <dhlco...@wowway.com> wrote: > > > > Simple question. I want to create a VGUI Panel with a list of tabs at > the > >> top. > >> Example: http://img2.imageshack.us/img2/8057/sfasd.jpg > >> > >> Thanks > >> _______________________________________________ > >> To unsubscribe, edit your list preferences, or view the list archives, > >> please visit: > >> http://list.valvesoftware.com/mailman/listinfo/hlcoders > >> > >> > >> _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > __________ Information from ESET NOD32 Antivirus, version of virus > > signature database 5615 (20101112) __________ > > > > The message was checked by ESET NOD32 Antivirus. > > > > http://www.eset.com > > > > > > > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > -- > -Tony > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders __________ Information from ESET NOD32 Antivirus, version of virus signature database 5616 (20101112) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders __________ Information from ESET NOD32 Antivirus, version of virus signature database 5619 (20101114) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders