FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour to distinguish get from combobox
Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
to distinguish get from combobox
Posted: Tue May 31, 2011 01:59 PM

Hi,

oDlg:bKeyDown = { |nKey| press_dlg( oDlg, nKey, ....)

FUNCTION PRESS_DLG( oDlg, nKey )

LOCAL oActive := OWNDFROMHWND( GETFOCUS() )

MsgInfo( oActive:classname )

RETURN NIL

For combobox objects I have "TGET" as result.
Is there a way to distinguish combobox from get objects?

Marco Boschi
info@marcoboschi.it

Continue the discussion