Code: Select all
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.
Best Regards,
Fabio Souza