Progress in message bar

Progress in message bar

Postby lailton.webmaster » Tue Oct 14, 2008 3:49 am

Hey there

i wanna make progress bar in status of um windows

is possible ??? someone can help me ??

i use xh1.1.0/fwh8.5

thanks
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Postby pablovidal » Tue Oct 14, 2008 4:48 am

Code: Select all  Expand view
Function ProgressBar( nTotal )
Local o := TProgress():New( 01, 10, oWmain:oMsgBar, ,,, .T., )
Default nTotal := 1
o:SetRange( 0, nTotal )
o:SetPos( 0 )
Return( o )


Code: Select all  Expand view
Local nTt := 100
Local ott := ProgressBar( nTT )
Local nAt := 0

For nAt :=  1 to nTT
oTT:SetPos( nAt )
Next nAt

oTT:End()
Saludos,

Pablo Alberto Vidal
/*
------------------------------------------------------
Harbour 3.2.0, Fivewin 17.02, BCC7
------------------------------------------------------
*/
User avatar
pablovidal
 
Posts: 401
Joined: Thu Oct 06, 2005 10:15 pm
Location: Republica Dominicana

cool

Postby lailton.webmaster » Tue Oct 14, 2008 5:03 am

very cool

only one problem i use style 2007 in windows and with progress bar
stay very Ugly...

what u think abour it ?? have some think to stay the same style
windows or something to stay the same 2007 style
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

h.

Postby lailton.webmaster » Tue Oct 14, 2008 5:41 am

i wanna make it change

Image

2 progressnar did edit im paint brush ehehhehe

someone can help me

thanks
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Postby Antonio Linares » Tue Oct 14, 2008 8:59 am

Lailton,

Are you using themes in your application ?

Please include this in your RC:

1 24 "WindowsXP.Manifest"
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

=)

Postby lailton.webmaster » Tue Oct 14, 2008 12:42 pm

Perfect Antonio

I try with this form and is OK now i did not using manifest more now
compile with manifest and allright !

thanks
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 61 guests