Msgbar Error

Msgbar Error

Postby Silvio.Falconi » Fri May 27, 2022 9:44 am

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 November 2023 - January 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
Silvio.Falconi
 
Posts: 7034
Joined: Thu Oct 18, 2012 7:17 pm

Re: Msgbar Error

Postby Detlef » Fri May 27, 2022 4:22 pm

Hi Silvio,

it looks like you are skipping backwards Skip(-1)
You will never reach ::oDbf:Eof()
User avatar
Detlef
 
Posts: 207
Joined: Mon Feb 07, 2022 9:54 pm

Re: Msgbar Error

Postby Silvio.Falconi » Fri May 27, 2022 5:16 pm

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 November 2023 - January 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
Silvio.Falconi
 
Posts: 7034
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 83 guests