Skid: Is the ComboBox.GetText() method cross compatible? E.g. is it just for Windows or can it be used on Linux or Mac?
Thanks for fixing it
EDIT: In case anyone wants some code to quickly paste into Max, that demonstrates the ComboBox.GetText() Method then try this:
:P
Thanks for fixing it
EDIT: In case anyone wants some code to quickly paste into Max, that demonstrates the ComboBox.GetText() Method then try this:
Rem Test-code for retrieving ComboBox text. Code is licensed as PUBLIC-DOMAIN. EndRem Strict Local window:TGadget Local combobox:TGadget Local button:TGadget window=CreateWindow("My Window",30,20,400,300) combobox=CreateComboBox(5,5,300,20,window,COMBOBOX_EDITABLE) button=CreateButton("OK",310,5,80,20,window,BUTTON_OK) AddGadgetItem combobox,"Option 1" AddGadgetItem combobox,"Option 2" AddGadgetItem combobox,"Option 3",True AddGadgetItem combobox,"Option 4" While WaitEvent() Select EventID() Case EVENT_GADGETACTION If EventSource() = button Then Notify "ComboBox Text: " + combobox.GetText$() Case EVENT_WINDOWCLOSE End End Select Wend
:P