The title says it all... I want to place an object inside the MSflexgrid... Standard use of MSFlexgrid only allows the use of Text or pictures... do you guys know of a way to overcome that? The object I want o place inside the MSFlexgrid is a progressbar...
Thanks in advance
Last edited by Hack; Mar 24th, 2006 at 09:58 AM.
Reason: Added green "resolved" checkmark
The MSFlexgrid is not a container for controls, but you can add the progressbar to your Form, then right click your progressBar, and Select "bring to Front", so the progressbar will be visible over the flexgrid.
What I'm trying to do is insert a progress bar (reflecting a value) in the flexgrid...
that is: I have a control panel with data and in order for the user to better understand the data, I display a percentage using the progressbar...
Wich comes to the problem I present: finding a way of placing the progressbar inside the flexgrid (or over if I can link it to a flexgrid cell - so that the sorting can work properly)...
I hope my english is understandable... if not please present your doubts...
... I have a control panel with data and in order for the user to better understand the data, I display a percentage using the progressbar...
Just like brucevde I'm puzzled as to why whould you need a progress bar? Is there any calculations of any kind going on or you're loading data? You may simply calculate percentage and display the number with larger font, different forecolor directly in the cell. You may set backcolor for that cell as well so it will stand out ...
I've seen both your codes and that's not exactly what I intend to do...
so far I've got this (see picture attached)... which is what I talked in a previous post: I have the progressbar on top of the flexgrid (and the flexgrid empty)..
The only problem I face is when using the sort option.... as you can easly forsee what will happen is the colums will be sorted and progressbar will stay the same (not acording to the unsorted grid)...
nevertheless many thanks for the input
PS: nevermind the text in the picture ... it's Portuguese... or Chinese for most of you guys