Search found 11 matches: stepit

Return to advanced search

Progress with error

... 1 ),; oProg2:SetRange( 0, 168 ), oProg2:SetStep( 1 ) ) return nil function Increase( oProg1, oProg2 ) local n for n = 1 to 168 // 111 // oProg1:StepIt() // oProg2:StepIt() oProg1:SetPos( n ) oProg2:SetPos( n ) Sleep( 50 ) SysRefresh() next
by marca
Wed Jun 08, 2022 2:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Progress with error
Replies: 13
Views: 708

Re: Progress Bars, no funciona correctamente.

... ::hWnd, PBM_SETSTEP, ::nStep := nStepInc ) y desde un bucle se llama a: SendMessage(hwndPB, PBM_STEPIT, 0, 0); En FWH:   METHOD StepIt() INLINE SendMessage( ::hWnd, PBM_STEPIT ), ::nPos += ::nStep eso es todo...
by Antonio Linares
Tue Jul 22, 2014 7:07 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Progress Bars, no funciona correctamente (Solucionado)
Replies: 27
Views: 5542

Re: Progress Bars, no funciona correctamente.

A ver, estos son los mensajes que tenemos para usar este control: #define PBM_SETRANGE (WM_USER+1) #define PBM_SETPOS (WM_USER+2) #define PBM_DELTAPOS (WM_USER+3) #define PBM_SETSTEP (WM_USER+4) #define PBM_STEPIT (WM_USER+5) #if (_WIN32_IE >= 0x0300) #define PBM_SETRANGE32 (WM_USER+6) // lParam ...
by Antonio Linares
Tue Jul 22, 2014 6:37 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Progress Bars, no funciona correctamente (Solucionado)
Replies: 27
Views: 5542

PROGRESS BAR Problem !

... is less than 40000 going well but on biggest values example 400000 progress bar is finished (going to 100%) somewhere between 40000 - 45000 Method StepIt() dont solve the problem (OS: XP SP3) Sample: #include "FiveWin.ch"function Main()   local oDlg, oProg1, oProg2, oSay1, oSay2  ...
by avista
Tue Oct 02, 2012 8:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PROGRESS BAR Problem !
Replies: 5
Views: 1120

Re: Progress Bar problem when used with WindowsXP.Manifest file

Hi, After reading this topic http://forums.fivetechsupport.com/viewtopic.php?f=3&t=10194 I added, oProgress:StepIt() inside the loop oProgress:StepIt()  // This will slow down the process, otherwise progress bar updates are not perfect The above command seems ...
by anserkk
Fri Jan 15, 2010 11:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Progress Bar problem when used with WindowsXP.Manifest file
Replies: 4
Views: 845

... the total number of indexes. Also you have defined the range as 0-100. So, try this--take out the first two lines and add the last line. // oProg:StepIt() // oProg:nPosition += nPercent oProg:setPos( nPercent ) Regards, James Mr.James's solution solved my problem. But now another problem. The ...
by anserkk
Fri Sep 05, 2008 11:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help : Progress Bar reaches end at 33%
Replies: 19
Views: 4378

Antonio,

>Yes, on the final step (from 99 to 100) it gets empty. Really strange, as the right way to do it is to use the StepIt() method.

Hmm, maybe if you do n = 0 to 99 instead? Or, set the range from 1 to 100 instead of 0 to 100?

Sorry, I can't test it here.

James
by James Bott
Thu Sep 04, 2008 8:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help : Progress Bar reaches end at 33%
Replies: 19
Views: 4378

... bar gets blank--at the end? Yes, on the final step (from 99 to 100) it gets empty. Really strange, as the right way to do it is to use the StepIt() method. And it only fails in Vista with themes. Without themes is ok. At least we have a workaround. Now we need other testers feedback.
by Antonio Linares
Thu Sep 04, 2008 8:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help : Progress Bar reaches end at 33%
Replies: 19
Views: 4378

... the total number of indexes. Also you have defined the range as 0-100. So, try this--take out the first two lines and add the last line. // oProg:StepIt() // oProg:nPosition += nPercent oProg:setPos( nPercent ) Regards, James
by James Bott
Thu Sep 04, 2008 7:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help : Progress Bar reaches end at 33%
Replies: 19
Views: 4378

Marc,

You have to use it this way:

oProgress:SetStep( 1 )
for ...
oProgress:StepIt()
next
by Antonio Linares
Sun Mar 02, 2008 7:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Progress bar
Replies: 18
Views: 4279

José Luis, Hay que usar los métodos SetStep() y StepIt() y asi sí completa: oProgress:SetRange( 0, RecCount() ) oProgress:SetStep( 2 ) nProgress:= 0 sysrefresh() INDEX ON first+last TO "CUST01" ...
by Antonio Linares
Mon Dec 10, 2007 10:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: tprogress y windows vista
Replies: 26
Views: 4863

Return to advanced search