Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » ProgressBar SWT.INDETERMINATE
ProgressBar SWT.INDETERMINATE [message #448495] Tue, 11 January 2005 10:00 Go to next message
Eclipse UserFriend
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 #448529 is a reply to message #448495] Tue, 11 January 2005 11:23 Go to previous messageGo to next message
Eclipse UserFriend
Sorry but you can't. You'll have to disposed and create a new progress bar.

"hortiz" <hortiz@nospam.com> wrote in message
news:cs0pma$g3v$1@www.eclipse.org...
> 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 #448612 is a reply to message #448495] Tue, 11 January 2005 20:54 Go to previous messageGo to next message
Eclipse UserFriend
<!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>
Re: ProgressBar SWT.INDETERMINATE [message #448616 is a reply to message #448612] Wed, 12 January 2005 06:10 Go to previous message
Eclipse UserFriend
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>
Previous Topic:Removing items from TableTree
Next Topic:DragAndDrop Source problem
Goto Forum:
  


Current Time: Sun Jul 06 20:47:36 EDT 2025

Powered by FUDForum. Page generated in 0.07682 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top