Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: BrianSidebotham on September 21, 2007, 01:21:40 pm

Title: Wizard Script GetComboboxStringSelection(control_name)
Post by: BrianSidebotham on September 21, 2007, 01:21:40 pm
Hi,

I am getting an error whilst trying to use GetComboboxStringSelection(control_name) to get a value from a wizard. I get a Squirrel error which says the index doesn't exist, i.e. the function is not present.

Am I doing something daft, or is it really missing?

It features in the wiki:
http://wiki.codeblocks.org/index.php?title=Wizard_Scripting_Commands#Combobox_controls_.28wxComboBox.29
Title: Re: Wizard Script GetComboboxStringSelection(control_name)
Post by: mandrav on September 21, 2007, 03:16:37 pm
It's not missing. Are you using it in the wizard's context ('cause it's only defined there)?
Title: Re: Wizard Script GetComboboxStringSelection(control_name)
Post by: BrianSidebotham on September 21, 2007, 05:48:35 pm
*cough* No I wasn't! But I am now, thanks.

I am making a wizard for AVR projects. I will post it up when it's ready.