Hello,
I want to place the SAY of oBrw:cSeek (incremental search in a TXBrowse) in the MessageBar, but don't know how!
Can guide me someone?
TIA
DEFINE STATUSBAR oStBar OF oWnd PROMPT ""
@ 1, 1 SAY oSay VAR cSay ;
SIZE oStBar:nWidth-2, oStBar:nHeight-2 ;
COLOR CLR_BLACK, GetSysColor(15) ;
OF oStBar ;
FONT oFont ;
PIXEL
oLbx:oSeek := oSay
...
DEFINE MSGITEM oMsgBarcSeek OF oDlg:oMsgBar PROMPT "Inremental search" SIZE 150 COLOR "R+/W"
...
FUNCTION My_Search( oBrw, cSeek )
LOCAL lReturn := .F.
IF Customer->( DbSeek( cSeek ) )
lReturn := .T.
oBrw:cSeek := cSeek
// Show the search string in the message bar
oMsgBarcSeek:SetText( cSeek )
ENDIF
RETURN lReturn
DEFINE MSGITEM oBrw:oSeek OF oDlg:oMsgBar ;
PROMPT "Inremental search" ;
SIZE 150 COLOR "R+/W"
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot], wartiaga and 92 guests