CODE to force an update of the IMAGE HISTOGRAM . . .
I am using the CODE below to display the IMAGE HISTOGRAM for an IMAGE / ROI.
With Application.Gadgets.ImageHistogram(Nothing) .CheckState = MediaCy.IQL.Application.McCommand.mcCheckState.Checked .Run() End With
The CODE for the APP changes the ROI but the IMAGE HISTOGRAM does not update after the ROI is created by the CODE.
I have used CODE shown below after the ROI is created by the APP to update the IMAGE HISTOGRAM but it does not seem to work while the APP is actively doing something.
'REFRESH THE UI MyControl.Refresh DoEvents 'REFRESH THE IMAGE WINDOW ThisApplication.ActiveWindowEx.Refresh 'REFRESH THE MEASUREMENT DATA ThisApplication.ActiveImage.MeasurementsData.Refresh
Is there CODE that will force the IMAGE HISTOGRAM to update while the APP is executing routines?