ImageEn, unit histogrambox

THistogramBox.OnSelectionChanging

THistogramBox.OnSelectionChanging

Declaration

property OnSelectionChanging: TNotifyEvent;

Description

If MouseInteract has been enabled then this event will occur as the user modifies the selection.

Note: Unlike OnSelectionChanged this event will fire multiple times during a selection change (as user drags mouse)

Example

procedure TForm1.HistogramBox1SelectionChanging(Sender: TObject);
begin
  // Update UI while the user drags the selection
  TrackBar1.Position := HistogramBox1.MinSelected;
end;

See Also

OnSelectionChanged
MouseInteract