ProgressBar SWT.INDETERMINATE [message #448495] |
Tue, 11 January 2005 10:00  |
Eclipse User |
|
|
|
Hi,
I use a ProgressBar instance which is placed at the bottom of my main
shell.
This ProgressBar is both used for tasks for which progression is known and
for tasks for which progression is unknown.
If I use the style SWT.INDETERMINATE, even when the progression is known,
the ProgressBar behaves as it does for unknown progression tasks.
Unfortunately, I could not dynamically changed the style of my ProgressBar.
How could I solve this problem ?
Thanks,
Helene
|
|
|
|
|
Re: ProgressBar SWT.INDETERMINATE [message #448616 is a reply to message #448612] |
Wed, 12 January 2005 06:10  |
Eclipse User |
|
|
|
Ok, Steve and Daniel thanks a lot for your answers.
Helene
Daniel Spiewak wrote:
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <meta content="text/html;charset=ISO-8859-15"
> http-equiv="Content-Type">
> <title></title>
> </head>
> <body bgcolor="#ffffff" text="#000000">
> <font face="serif">The best way is to use a Composite with a
> StackLayout and just control two separate ProgressBar(s) using
> composition.<br>
> <br>
> Daniel<br>
> </font><br>
> hortiz wrote:
> <blockquote cite="midcs0pma$g3v$1@www.eclipse.org" type="cite">Hi,
> <br>
> <br>
> I use a ProgressBar instance which is placed at the bottom of my main
> shell.
> <br>
> This ProgressBar is both used for tasks for which progression is known
> and for tasks for which progression is unknown.
> <br>
> <br>
> If I use the style SWT.INDETERMINATE, even when the progression is
> known, the ProgressBar behaves as it does for unknown progression
> tasks.
> <br>
> <br>
> Unfortunately, I could not dynamically changed the style of my
> ProgressBar.
> <br>
> <br>
> How could I solve this problem ?
> <br>
> Thanks,
> <br>
> Helene
> <br>
> <br>
> <br>
> <br>
> <br>
> </blockquote>
> </body>
> </html>
|
|
|
Powered by
FUDForum. Page generated in 0.07682 seconds