Msgbar Error

Post Reply
User avatar
Silvio.Falconi
Posts: 7164
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 2 times

Msgbar Error

Post by Silvio.Falconi »

Image

I have a cicle do while and change the text on a msgitem
at left you'll see the progress at right the text on the msgitem

Do While !::oDbf:Eof()


....
::oBarProgress:SetPos( ::oBarProgress:nPos + 1 )
::oTabItem1:SetText( tran(::oBarProgress:nPos,'999999')+" di "+;
tran(::oDbf:KeyCount(),'999999'))

::oWinTabellone:oMsgBar:Refresh()

::oDbf:Skip(-1)

Enddo

It seem not refresh the text on msgitem

How I can resolve ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Detlef
Posts: 209
Joined: Mon Feb 07, 2022 9:54 pm

Re: Msgbar Error

Post by Detlef »

Hi Silvio,

it looks like you are skipping backwards Skip(-1)
You will never reach ::oDbf:Eof()
User avatar
Silvio.Falconi
Posts: 7164
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 2 times

Re: Msgbar Error

Post by Silvio.Falconi »

Detlef wrote:Hi Silvio,

it looks like you are skipping backwards Skip(-1)
You will never reach ::oDbf:Eof()


Image

Yes but It Is not the problem, that was only a sample to show I 'm making

I mean the text Is overwrite and not refresh look the image
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Post Reply