Oh well I forgot to add that it acts as though it selected those options. In
that if I add a msg for when that command is fired for changing the combo
box it fires. And I can use the thing as though things are selected just the
text is not updating. So the user cannot see that they have really selected
something or not. After they make all their choices though and press ok, the
proper changes are propagated to the opropriate command to create that
entity as they set it up.

I peeked in the combo box .cpp file in the vgui_controls project and all I
saw that could be possible is in the place where it does settext on mouse
type of option it checkes for a editable text setting. I don't want my thing
to be able to be edited, I just want it to be that user can only choose the
options I give. But this does not make sense when it works fine in Setting
the text in the debugger. I am about to test this myself to confirm... And
if so just make a new baseclass with that function overrided. But honestly
don't see this being the solution since it is working perfect when ran
through debugger.
----- Original Message -----
From: "OvermindDL1" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, November 03, 2007 12:21 AM
Subject: Re: [hlcoders] Multiple Combo Boxes. Not updating currently
selected text.


As a quick guess, some variables might be being stomped on
(uninitialized memory?).  Although I doubt that it is that easy, first
thing to look for at least.  Would help if you could give some example
code, being as simple as possible to demonstrate the issue of course.

On 11/2/07, Christopher Harris <[EMAIL PROTECTED]> wrote:
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
I am having a very perplexing issue. I have a set of Combo Boxes in a vgui
element which are not updating the state of the currently selected item to
reflect what a use picks or even if I set the active item by row in code.

What is odd though is if I run the game through vs2005 debugger the combo
boxes work flawlessly. Does anyone have any insight as to why this might
be.

Chris
--


_______________________________________________
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


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to