Página 1 de 1
Problem with TProgressDlg
Publicado: Dom Jul 02, 2006 11:37 am
por Guest
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.
Problem with TProgressDlg
Publicado: Dom Jul 02, 2006 11:40 pm
por jlalin
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
Publicado: Dom Jul 02, 2006 11:40 pm
por jlalin
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
Publicado: Lun Jul 03, 2006 7:22 am
por Guest
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
Problem with TProgressDlg
Publicado: Lun Jul 03, 2006 7:22 am
por Guest
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
Problem with TProgressDlg
Publicado: Lun Jul 03, 2006 1:01 pm
por jlalin
Hi Timm,
> is it possible to change the delay value?
seems it is not.
Regards,
José Lalín
Problem with TProgressDlg
Publicado: Lun Jul 03, 2006 1:01 pm
por jlalin
Hi Timm,
> is it possible to change the delay value?
seems it is not.
Regards,
José Lalín