Tim,
It seems as you are using a wrong combobox.prg as samples/ownerdra.prg is working fine here
If you try samples/ownerdra.prg and works wrong also there, it would confirm it.
METHOD LostFocus( hWndGetFocus ) CLASS TComboBox
local nAt := ::SendMsg( CB_GETCURSEL )
::Super:LostFocus( hWndGetFocus )
if nAt != CB_ERR
::nAt = nAt + 1
if ValType( Eval( ::bSetGet ) ) == "N"
Eval( ::bSetGet, nAt + 1 )
else
if Empty( ::oGet:hWnd )
Eval( ::bSetGet, ::aItems[ nAt + 1 ] )
else
Eval( ::bSetGet, GetWindowText( ::hWnd ) )
endif
endif
else
Eval( ::bSetGet, GetWindowText( ::hWnd ) )
endif
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 84 guests