Discussion:
progressbar in vsflexgrid cell
(too old to reply)
Sascha Herpers
2003-10-17 05:50:57 UTC
Permalink
Hi,

I want to display progressbars in every cell of one of my vsflexgrid
columns.

Can somebody tell me how to do this or where to start?

Thanks,
Sascha
Jan Hyde
2003-10-17 08:15:47 UTC
Permalink
Sascha Herpers <***@brainpowered.de>'s wild
thoughts were released on Fri, 17 Oct 2003 07:50:57 +0200
Post by Sascha Herpers
Hi,
I want to display progressbars in every cell of one of my vsflexgrid
columns.
Can somebody tell me how to do this or where to start?
Read up on the CellFloodPercent property

J
--
Is an incompetent doctor a Hippocratic oaf? (Lawrence Brotherton)

[Abolish the TV Licence - http://www.tvlicensing.biz/]
Sascha Herpers
2003-10-17 09:13:51 UTC
Permalink
Hi J,
Post by Jan Hyde
Read up on the CellFloodPercent property
yes, forgot to mention, that I know this property. Sorry.

The reason why I don't like it, is, that it is almost impossible to
adjust the flood color, cell background and forground color to good values.

If you have e.g. white background, black forground and blue floodcolor,
the text is almost unreadable once the progress bar reaches the text. If
the textcolor would be inverted, that would be a realy neat feature.

Besides that, I would rather have the standard progressbar (little
rectangles with space between consecutive rects) than the unicolored one.

Any idea?

Thanks for your suggestion so far

Sascha
Jan Hyde
2003-10-17 10:18:44 UTC
Permalink
Sascha Herpers <***@brainpowered.de>'s wild
thoughts were released on Fri, 17 Oct 2003 11:13:51 +0200
Post by Sascha Herpers
Hi J,
Post by Jan Hyde
Read up on the CellFloodPercent property
yes, forgot to mention, that I know this property. Sorry.
The reason why I don't like it, is, that it is almost impossible to
adjust the flood color, cell background and forground color to good values.
Play around with colours until your happy. Also make the
font bold, it helps a lot.

Private Sub Form_Load()
With VSFlexGrid1
.Cell(flexcpText, 1, 1) = "Hello"
.Cell(flexcpFontBold, 1, 1) = True
.Cell(flexcpFloodColor, 1, 1) = vbGreen
.Cell(flexcpFloodPercent, 1, 1) = 50
End With
End Sub
Post by Sascha Herpers
If you have e.g. white background, black forground and blue floodcolor,
the text is almost unreadable once the progress bar reaches the text. If
the textcolor would be inverted, that would be a realy neat feature.
Dark blue I bet, try a light blue like &HFFFF00
Post by Sascha Herpers
Besides that, I would rather have the standard progressbar (little
rectangles with space between consecutive rects) than the unicolored one.
Any idea?
In the samples directory there is code that shows you how to
make it look as if there is a button in the cell. I guess
you could use the approach for a progress bar.

J
--
Is an incompetent doctor a Hippocratic oaf? (Lawrence Brotherton)

[Abolish the TV Licence - http://www.tvlicensing.biz/]
Sascha Herpers
2003-10-17 11:38:30 UTC
Permalink
Hi,
Post by Jan Hyde
In the samples directory there is code that shows you how to
make it look as if there is a button in the cell. I guess
you could use the approach for a progress bar.
thanks, I'll take a look at it.

Sash

Loading...