The get object in combobox does not jump to next control when len get full.
What to do?
Antonio Linares wrote:Try this:
oCombo:bChange = { || If( oCombo:oGet:TypeOut, oCombo:oWnd:GoNextCtrl( oCombo:hWnd ),) }
Antonio Linares wrote:Please check if you ear the beep:
oCombo:bChange = { || If( oCombo:oGet:oGet:TypeOut, ( MsgBeep(), oCombo:oWnd:GoNextCtrl( oCombo:hWnd ) ),) }
//----------------------------------------------------------------------------//
METHOD GetKeyChar( nKey ) CLASS TComboBox
local nAt, cText
local cSearch
if nKey == VK_RETURN // CHANGED HERE BY SHARK
::oWnd:GoNextCtrl( ::hWnd )
return nKey // changed here by shark
elseif ( nKey == VK_TAB .and. ! GetKeyState( VK_SHIFT ) )
::oWnd:GoNextCtrl( ::hWnd )
return 0
else
if nKey == VK_TAB .and. GetKeyState( VK_SHIFT )
::oWnd:GoPrevCtrl( ::hWnd )
return 0
endif
endif
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 54 guests