to distinguish get from combobox

to distinguish get from combobox

Postby MarcoBoschi » Tue May 31, 2011 1: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?
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 111 guests