Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » ProgressBar SWT.INDETERMINATE
ProgressBar SWT.INDETERMINATE [message #448495] Tue, 11 January 2005 15:00 Go to next message
hortiz Mising name is currently offline hortiz Mising nameFriend
Messages: 96
Registered: July 2009
Member
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 16:23 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
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] Wed, 12 January 2005 01:54 Go to previous messageGo to next message
Daniel Spiewak is currently offline Daniel SpiewakFriend
Messages: 263
Registered: July 2009
Senior Member
<!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 11:10 Go to previous message
hortiz Mising name is currently offline hortiz Mising nameFriend
Messages: 96
Registered: July 2009
Member
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: Tue Apr 23 17:29:38 GMT 2024

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

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

Back to the top