twinkleturn14 240 exp More than a year ago

1. I have this code, but whenever the choice on my combo box is altered. The listbox item wont change. Is something wrong with my code?


if (comboPrin.SelectedItem == principles[0])
{
listIPara.Suspended = true;
listIPara.Clear();
listIPara.AddItem("Jam");
listIPara.Suspended = false;

}
else
{
listIPara.Suspended = true;
listIPara.Clear();
listIPara.AddItem("je");
listIPara.Suspended = false;
}



Skewworks 4,000 exp More than a year ago

May be a glitch. What happens if you do a [formname].Render(true); after listIPara.Suspended = false;?

twinkleturn14 240 exp About a year ago

My program's working now! Smiley
Question is, is it possible ti add multiple items on a listbox in a single line code?

Skewworks 4,000 exp More than a year ago

Hm, looks like I overlooked that ability on Listbox; it exists for Combobox. I'll update it for the next release, sorry about that. Oops

twinkleturn14 240 exp About a year ago

I see. Thanks anyway. Smiley

Skewworks 4,000 exp About a year ago

I'll be attempting to get a new patch out with weekend for the screen rotation issue and I'll add in an AddItems method for the listbox like the one found in combobox.

twinkleturn14 240 exp About a year ago

yey! can't wait, this might somehow solved my prob regarding the CLR Fail. Grin

Skewworks 4,000 exp About a year ago

Twinkleturn; I'm sorry we have 4-5 projects going on right now and I wasn't able to make your release this weekend. I am still working on it and will have it out ASAP.

twinkleturn14 240 exp About a year ago

I'll wait on it anyway. Smiley
Separating my code per class somehow helped me but I think it once again reached its capacity for allowed classes. I can show Principles 1-30 now, than 1-14 before. though, when 31 is made CLR OUT OF RANGE came out. Sad