TRVMicrophoneView.OnPaint

<< Click to display table of contents >>

TRVMicrophoneView.OnPaint

Allows to draw a custom image showing a sound volume.

type // defined in MRVType unit

  TRVMicrophonePaintEvent = procedure(Sender : TObject;

    Level : Integer) of object;

property OnPaint: TRVMicrophonePaintEvent;

This event is used in Style=rvmpsOwnerDraw.

The sound volume can be calculated basing on the Level parameter as |Level-127|.