ImageEn, unit histogrambox

THistogramBox.OnSelectionChanged

THistogramBox.OnSelectionChanged

Declaration

property OnSelectionChanged: TNotifyEvent;

Description

If MouseInteract has been enabled then this event will occur after the user has modified the selection.

Note: Unlike OnSelectionChanging this event only fires once per change (on mouse up)

Example

procedure TForm1.HistogramBox1SelectionChanged(Sender: TObject);
begin
  Label1.Caption := Format('Selected: %d', [HistogramBox1.MinSelected]);
end;

See Also

OnSelectionChanging
MouseInteract