Meter or Progress on Msgbar - Resolved!!

Meter or Progress on Msgbar - Resolved!!

Postby Silvio.Falconi » Fri Apr 12, 2019 3:06 pm

id it possibile to show a meter or progress on a msgbar ?
Someone can post a smal sample pls ?
Thanks
Last edited by Silvio.Falconi on Tue Apr 16, 2019 6:28 am, edited 1 time in total.
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: 7033
Joined: Thu Oct 18, 2012 7:17 pm

Re: Meter or Progress on Msgbar

Postby Silvio.Falconi » Mon Apr 15, 2019 9:05 am

any solution pls ?
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: 7033
Joined: Thu Oct 18, 2012 7:17 pm

Re: Meter or Progress on Msgbar

Postby MGA » Mon Apr 15, 2019 3:51 pm

define msgitem oMsg of oWnd:oMsgbar size 110

@ 04,oWnd:oMsgbar:nWidth-111 progress oMeter position 0 oWnd:omsgbar size 94,18 pixel
ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1249
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Re: Meter or Progress on Msgbar

Postby leandro » Mon Apr 15, 2019 4:06 pm

Definir

Code: Select all  Expand view

DEFINE WINDOW oWChLte MDICHILD  TITLE "Información" ICON "#8001" OF oWnd

   SET MESSAGE OF oWChLte TO "Información "
   @ 04, oWChLte:oMsgBar:nWidth-111 PROGRESS oMeterL POSITION 1 of oWChLte:oMsgBar SIZE 200,18 pixel
   oMeterL:SetRange( 0, 100 )
 


Uso

Code: Select all  Expand view

  oRsLte:MoveFirst()
  Do While !oRsLte:Eof()

    oRsLte:MoveNext()
    oMeterL:SetPos( oMeterL:nPos + 1 )
    oWChLte:oMsgBar:cMsgDef:="Procesando Registro:"+alltrim(str(oRsLte:AbsolutePosition()))+" De:"+alltrim(str(nRegBarl))
    oWChLte:oMsgBar:Refresh()
    sysrefresh()

  EndDo

 
Saludos
LEANDRO AREVALO
Bogotá (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com

[ Embarcadero C++ 7.60 for Win32 ] [ FiveWin 23.07 ] [ xHarbour 1.3.0 Intl. (SimpLex) (Build 20230914) ]
User avatar
leandro
 
Posts: 1669
Joined: Wed Oct 26, 2005 2:49 pm
Location: Colombia

Re: Meter or Progress on Msgbar

Postby Silvio.Falconi » Mon Apr 15, 2019 4:37 pm

yes of course But on Wndmain I have a Msgbar with 3 Msgitem
and I wish insert this meter on ::oMsgitem3
when I try it make error hwnd
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: 7033
Joined: Thu Oct 18, 2012 7:17 pm

Re: Meter or Progress on Msgbar

Postby Silvio.Falconi » Mon Apr 15, 2019 4:53 pm

perhaps now run ok
thanks
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: 7033
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 52 guests