[Overview][Types][Classes][Procedures and functions][Variables][Index] |
Create - constructor for TCustomBitBtn: calls inherited Create then initialises layout, style and spacing, creates the Button Glyph
Source position: buttons.pp line 172
public constructor TCustomBitBtn.Create( |
TheOwner: TComponent |
); override; |
If you drop a component on the form editor you don´t need to add code to explicitly create it. The component is automatically created together with the the form, and destroyed when the form is destroyed. However, if you create the component by code don´t forget to free it when it is no longer needed. Constructors allocate memory and system resources needed by the object. They also call the constructor of any sub-objects present in the class.
|
Create - constructor for TCustomButton: calls inherited Create then initialises style, colour, bounds, alignment and various other properties |
lazarus-ccr.sourceforge.net |