Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
BlackChaos
16
Years of Service
User Offline
Joined: 2nd May 2010
Location: London
Posted: 7th Dec 2011 12:46
For combobox how do i get the index number for the selected item?

Thanks,

Check out my website -> Ameadus Project <- Free Project files, Examples and Over 2,000 textures
Brendy boy
20
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 7th Dec 2011 20:22
id=COMBOBOX GET SELECTED ITEM(combobox)

BlackChaos
16
Years of Service
User Offline
Joined: 2nd May 2010
Location: London
Posted: 8th Dec 2011 13:25
Always returns '0' even when I declare the varable holding the value as global.

Check out my website -> Ameadus Project <- Free Project files, Examples and Over 2,000 textures
BlackChaos
16
Years of Service
User Offline
Joined: 2nd May 2010
Location: London
Posted: 8th Dec 2011 13:28 Edited at: 8th Dec 2011 13:31
I have worked out a way anyway.


``Possibly replace this 9999 with the total items in the array.

//Effecttive if you know the string exists

Check out my website -> Ameadus Project <- Free Project files, Examples and Over 2,000 textures
Brendy boy
20
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 8th Dec 2011 16:22
Quote: "Always returns '0' even when I declare the varable holding the value as global."

did you look at combobox example, the command should work

Login to post a reply

Server time is: 2026-07-11 06:07:07
Your offset time is: 2026-07-11 06:07:07