Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Wizard Script GetComboboxStringSelection(control_name)

(1/1)

BrianSidebotham:
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

mandrav:
It's not missing. Are you using it in the wizard's context ('cause it's only defined there)?

BrianSidebotham:
*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.

Navigation

[0] Message Index

Go to full version