The code below does not work:
Even if the style is changed (CBS_DROPDOWN, CBS_DROPDOWNLIST), still does not work.
Best Regards,
Fabio Souza
STATIC aQtdes, cQtde
(...)
aQtdes := { "1", "2", "3", "4", "5", "6" }
cQtde := "1"
@ 13,98.5 COMBOBOX oCmbnQtde VAR cQtde OF oWndProdutos ITEMS aQtdes SIZE 20,75 PIXEL
(...)
MudarQtde()
(...)
STATIC FUNCTION MudarQtde()
 oCmbnQtde:nAt := 2     // this does not work
 oCmbnQtde:SetText("2")  //this does not work
 oCmbnQtde:Select(2)     // this does not work
 oCmbnQtde:Refresh() Â
RETURN .T.Even if the style is changed (CBS_DROPDOWN, CBS_DROPDOWNLIST), still does not work.
Best Regards,
Fabio Souza