It appears that when you put a histogram on a form or panel and set it to align with the client, that alignment doesn't occur when you resize the window. (In other words, the histogram stays it's original size.
Is there some trick to making that alignment occur that I'm missing?
Calling HistogramBox1.UpdateFromHistogram() on the OnResize event causes the component to align properly. It appears to me that the component is ignoring the OnResize event.
In the current version UpdateFromHistogram is stateless, i.e. when you resize it does not have any information to rebuild the histogram. For the next release, we will make it store the state even when using UpdateFromHistogram.
No problem, Nigel. I am now keeping a copy of my histogram array and using it to explicitly repopulate the box on the form's resize event. This works fine.