[Overview][Resource strings][Constants][Types][Classes][Procedures and functions] Reference for unit 'fpGUI' (#fpgui)

TGenericButton.Paint

Draw the blank button face on the canvas.

Declaration

Source position: buttons.inc line 25

protected procedure TGenericButton.Paint(

  Canvas: TFCanvas

); override;

Description

This method draws a blank button face on the canvas. Nothing else gets drawn. This method also takes into account if the button is Embedded on not, which will affect the buttons look in some ways. eg: Must it have a Focus Rectangle or not.