Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have made a program to keep track of my 'To Do' list here at work. These things 'to do' are listed in a listview with columns such as name, due date, due time, etc. Some of these things 'To Do' have certain requirements associated with them before I can say I have completed them. I'd like to display a progress bar for each task showing the progress of the task based on how many of the requirements are done.

 

So, I had this cool idea. Instead of using some extended list view to display a column entirely made up of progressbars, I thought it would be neat to have a progressbar with 50% opacity spanning the entire row across all columns. The task data in each column would still show but behind it is this progressbar.

 

Is is possible to apply opacity on a single control? If so, how? If not, any other ideas to get what I want to happen?

Posted
Lookup the ControlStyles Enumeration in the help. Particularly the SupportsTransparentBackColor value. I've never actually used this myself' date=' mind you.[/quote']

 

that's not what I'm looking for. When you apply opacity to a form, the entire form (backcolors, forecolors, controls, etc) fade in and out. If I add support for transparent backcolor to a control, such as a listview or progressbar, only the backcolor is transparent. The actual control doesn't act like opacity on a form.

Posted
that's not what I'm looking for. When you apply opacity to a form' date=' the entire form (backcolors, forecolors, controls, etc) fade in and out. If I add support for transparent backcolor to a control, such as a listview or progressbar, only the backcolor is transparent. The actual control doesn't act like opacity on a form.[/quote']

 

Here's a screenshot of what I'm looking for. This isn't an implemented solution, it's a hack so you can see what I want to happen.

Posted
Why do you need a seperate progress control? Using gdi' date=' just draw the progress bar on the listview itself.[/quote']

 

got an example handy?.. I'll be searching too..

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...