int myValue; ; /* 値を取得 */ myValue = comboBox.selection();
str myValue; ; /* 文字列を取得 */ myValue = comboBox.valueStr();
名前 | 値 |
test1 | aaa |
test2 | iii |
test3 | uuu |
test4 | eee |
; comboBox.selection(TestEnum::test3));
str strtmp; TestEnum type; ; strtmp = "uuu"; comboBox.selection(str2enum(type, strtmp));