void ComboBox::Process()
{
int iSelection = bbGetInputSelection();
- printf("ComboBox::Process A iSelection=%d\n", iSelection);
// if (bbGetInputSelection() >= bbGetInputIn().size()) { iSelection=bbGetInputIn().size()-1; }
if (bbGetInputSelection() >= bbGetInputIn().size()) { iSelection=0; }
ComboBoxWidget *w = (ComboBoxWidget*)bbGetOutputWidget();
{
bbSetOutputOutString( bbGetInputIn()[ iSelection ] );
} // if iSelection
- printf("ComboBox::Process B iSelection=%d\n", iSelection);
w->VerifyDeselect(iSelection);
}
//=====