Hi,
the progress dialog will not be shown immediately after the dialog is
activated with Run().
I modified the dialogs example to show the problem:
METHOD Button15Click( oSender ) CLASS TForm1
WITH OBJECT ::oProgressDlg1
:nValue := 0
:Run()
Sleep( 3000 ) // added
WHILE .T.
:nValue++
Sleep( 30 )
IF :IsCancel()
:Stop()
EXIT
ENDIF
IF :nValue == :nMax
:Stop()
EXIT
ENDIF
END
END
RETURN Nil
I tried to solve it with Reset() but it didn´t work.
Best reagrds, Timm.
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Problem with TProgressDlg
Problem with TProgressDlg
Timm,
> the progress dialog will not be shown immediately after the dialog is
> activated with Run().
Yes, you are right. However they say it is not a bug but a "feature".
See this:
"There is a default two second delay before the dialog appears. This is
the default behavior."
Regards,
José Lalín
> the progress dialog will not be shown immediately after the dialog is
> activated with Run().
Yes, you are right. However they say it is not a bug but a "feature".
See this:
"There is a default two second delay before the dialog appears. This is
the default behavior."
Regards,
José Lalín
Problem with TProgressDlg
Timm,
> the progress dialog will not be shown immediately after the dialog is
> activated with Run().
Yes, you are right. However they say it is not a bug but a "feature".
See this:
"There is a default two second delay before the dialog appears. This is
the default behavior."
Regards,
José Lalín
> the progress dialog will not be shown immediately after the dialog is
> activated with Run().
Yes, you are right. However they say it is not a bug but a "feature".
See this:
"There is a default two second delay before the dialog appears. This is
the default behavior."
Regards,
José Lalín
Problem with TProgressDlg
Hi José,
is it possible to change the delay value?
Best regards, Timm.
"José Lalín" <dezac@corevia.com> schrieb im Newsbeitrag
news:44a83d42$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>
> Timm,
>
>> the progress dialog will not be shown immediately after the dialog is
>> activated with Run().
>
> Yes, you are right. However they say it is not a bug but a "feature". See
> this:
>
> "There is a default two second delay before the dialog appears. This is
> the default behavior."
>
> Regards,
> José Lalín
is it possible to change the delay value?
Best regards, Timm.
"José Lalín" <dezac@corevia.com> schrieb im Newsbeitrag
news:44a83d42$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>
> Timm,
>
>> the progress dialog will not be shown immediately after the dialog is
>> activated with Run().
>
> Yes, you are right. However they say it is not a bug but a "feature". See
> this:
>
> "There is a default two second delay before the dialog appears. This is
> the default behavior."
>
> Regards,
> José Lalín
Problem with TProgressDlg
Hi José,
is it possible to change the delay value?
Best regards, Timm.
"José Lalín" <dezac@corevia.com> schrieb im Newsbeitrag
news:44a83d42$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>
> Timm,
>
>> the progress dialog will not be shown immediately after the dialog is
>> activated with Run().
>
> Yes, you are right. However they say it is not a bug but a "feature". See
> this:
>
> "There is a default two second delay before the dialog appears. This is
> the default behavior."
>
> Regards,
> José Lalín
is it possible to change the delay value?
Best regards, Timm.
"José Lalín" <dezac@corevia.com> schrieb im Newsbeitrag
news:44a83d42$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>
> Timm,
>
>> the progress dialog will not be shown immediately after the dialog is
>> activated with Run().
>
> Yes, you are right. However they say it is not a bug but a "feature". See
> this:
>
> "There is a default two second delay before the dialog appears. This is
> the default behavior."
>
> Regards,
> José Lalín
Problem with TProgressDlg
Hi Timm,
> is it possible to change the delay value?
seems it is not.
Regards,
José Lalín
> is it possible to change the delay value?
seems it is not.
Regards,
José Lalín
Problem with TProgressDlg
Hi Timm,
> is it possible to change the delay value?
seems it is not.
Regards,
José Lalín
> is it possible to change the delay value?
seems it is not.
Regards,
José Lalín