TdxBarCustomPopupMenu.OnPaintBar Event
Occurs when drawing a bar at the left side of a popup menu.
Declaration
property OnPaintBar: TdxBarPaintSubMenuBarEvent read; write;
Remarks
Write an OnPaintBar event handler to draw the left side bar.
Canvas specifies the drawing surface.
R specifies the rectangle for drawing.
The following example demonstrates you how to draw the bar and fill it with the color green.
Canvas.Brush.Color := clGreen;
Canvas.FillRect(R);
See Also