tengo problemas con una busqueda en un browser
te explico tengo el xbrowser y un get en la dialog y quiero que cuando el usuario presione una tecla este active el get y coloque alli la letra que toco el usuario y continue a escribir
pero cuando le doy a una tecla el get toma el focus pero no me coloca esa primera letra que tecleo el usuario
Xbrowse Seek
- Daniel Garcia-Gil
- Posts: 2365
- Joined: Wed Nov 02, 2005 11:46 pm
- Location: Isla de Margarita
- Contact:
Re: Xbrowse Seek
Saludos
yo lo hago de esta forma y trabaja muy bien, hago la llamada desde bKeyDown
yo lo hago de esta forma y trabaja muy bien, hago la llamada desde bKeyDown
Code: Select all
METHOD ChatBegin( nChar ) CLASS TChat
LOCAL hWnd, nLen, n
// Determine character. If alpha, add 32 to convert to
// lower case
if nChar >= 65 .and. nChar <= 90
nChar += 32
else
RETURN Nil
endif
::cInputChat = PadR( AllTrim( ::cInputChat ) + Chr( nChar ), 256 )
::oGetChatInput:SetFocus()
::oGetChatInput:SetPos( Len( AllTrim( ::cInputChat ) ) + 1 )
return nil
our best documentation is the source code
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9