The get object in combobox does not jump to next control when len get full.
What to do?
The get object in combobox does not jump to next control when len get full.
What to do?
Try this:
oCombo:bChange = { || If( oCombo:oGet:TypeOut, oCombo:oWnd:GoNextCtrl( oCombo:hWnd ),) }
Antonio Linares wrote:Try this:
oCombo:bChange = { || If( oCombo:TypeOut, oCombo:GoNextCtrl( oCombo:hWnd ),) }

Please check if you ear the beep:
oCombo:bChange = { || If( oCombo:oGet:oGet:TypeOut, ( MsgBeep(), oCombo:oWnd:GoNextCtrl( oCombo:hWnd ) ),) }
Antonio Linares wrote:Please check if you ear the beep:
oCombo:bChange = { || If( oCombo:TypeOut, ( MsgBeep(), oCombo:GoNextCtrl( oCombo:hWnd ) ),) }
Any Solution ???
This command line bellow, call alert function, it´s ok. But... don´t execute GoNextCtrl()
oCombo:bChange = { || If( oCombo:oGet:oGet:TypeOut, ( alert("test"), oCombo:oWnd:GoNextCtrl( oCombo:hWnd ) ),) }
Any Solution?
//----------------------------------------------------------------------------//
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