From: Itamar M. L. J. L. <ita...@gm...> - 2015-09-09 19:45:54
|
Hi! hCombo.prg line 184 IF ::lText IF ::lEdit hwg_Setdlgitemtext( hwg_GetModalHandle(), ::id, ::xValue ) ELSE i := iif( ValType( ::aItems[1] ) == "A", AScan( ::aItems, { |a|a[1] == ::xValue } ), AScan( ::aItems, ::xValue ) ) hwg_Combosetstring( ::handle, i ) ENDIF ELSE I change to: IF ::lText //IF ::lEdit // hwg_Setdlgitemtext( hwg_GetModalHandle(), ::id, ::xValue ) //ELSE i := iif( ValType( ::aItems[1] ) == "A", AScan( ::aItems, { |a|a[1] == ::xValue } ), AScan( ::aItems, ::xValue ) ) hwg_Combosetstring( ::handle, i ) //ENDIF ELSE I commented these lines above and now refresh() works with COMBOBOX and EDIT flag. Best regards, Itamar M. Lins Jr. |