xbrowse reset incr.-seekstring on btn-action ?

xbrowse reset incr.-seekstring on btn-action ?

Postby ukoenig » Wed May 06, 2015 5:54 pm

Hello,

I want to clear a xbrowse incr.-seekstring on button-action
and go to browser-top, but it doesn't work :
I can clear the seek but after that, it is not possible to seek again.
Going to browser-top doesn't work.

1. incr. seek
2. change values
3. save
4. reset seek-string ( on save-button or using the extra button )
5. browser go top

WITH OBJECT oBrw1
:lIncrFilter := .t.
:lSeekWild := .t.
cSeek := "", oBrw1:oSeek:Refresh() }
END


REDEFINE SAY oBrw1:oSeek PROMPT oBrw1:cSeek ID 920 OF oDlg1 PIXEL FONT oFontSmall
oBrw1:oSeek:Setcolor( 0, 16777215 )


the button-action

ACTION ( DBGOTOP(), oBrw1:Refresh(),;
oBrw1:cSeek := "", ;
oBrw1:oSeek:Refresh() ) ;


Image

any idea ?

best regards
Uwe :?:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: xbrowse reset incr.-seekstring on btn-action ?

Postby nageswaragunupudi » Fri May 08, 2015 2:34 am

Code: Select all  Expand view
WITH OBJECT oBrw
   :Seek( "" )
   :lIncrFilter := .t.
   :lSeekWild := .t.
END
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xbrowse reset incr.-seekstring on btn-action ?

Postby ukoenig » Fri May 08, 2015 11:22 am

Mr.Rao,

thank You very much for thr info.

I found XBIncflt.prg in /samples and added buttons.
It works like for the combos.

ACTION ( oBrw:Seek( "" ), oBrw:SetFocus() ) ;

Image

best regards
Uwe :)
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 42 guests