From 0ba21c80a8a13bbb7b389bf49e0931b0a340be6f Mon Sep 17 00:00:00 2001 From: kirkpatc Date: Tue, 4 Dec 2007 23:47:43 +0000 Subject: [PATCH] LazDoc - removed several descriptions form TButton in StdCtrls because they are defined in ancestor classes. Some consequential changes in Graphics and Controls git-svn-id: trunk@13149 - --- docs/xml/lcl/controls.xml | 8 +--- docs/xml/lcl/graphics.xml | 41 ++++++++--------- docs/xml/lcl/stdctrls.xml | 92 ++++++++------------------------------- 3 files changed, 40 insertions(+), 101 deletions(-) diff --git a/docs/xml/lcl/controls.xml b/docs/xml/lcl/controls.xml index 303de6bc0e..9bd4665242 100644 --- a/docs/xml/lcl/controls.xml +++ b/docs/xml/lcl/controls.xml @@ -8560,15 +8560,11 @@ Reads or writes a flag to find or store the identity of the parent for this cont - - - + OnEnter - event handler for when the mouse enters the control, and the control receives focus - - - + OnExit - event handler for when the mouse leaves the control and it loses focus diff --git a/docs/xml/lcl/graphics.xml b/docs/xml/lcl/graphics.xml index e921d4ba8a..c109a1bd92 100644 --- a/docs/xml/lcl/graphics.xml +++ b/docs/xml/lcl/graphics.xml @@ -234,12 +234,13 @@ - Data about the Default Font in the current context - New TFont instances are initialized with the values in this structure.
-About font default values: The default font is chosen by the interfaces depending on the context.
-For example, there can be a different default font for a button and a groupbox.
- TFontData - + Default Data for any new Font + +

New TFont instances are initialized with the values in this structure.

+

About font default values: The default font is chosen by the interfaces depending on the context.

+

For example, there can be a different default font for a button and a groupbox.

+
+
@@ -1543,9 +1544,11 @@ Since FPC 2.0 the LCL uses TFPCanvasHelper as ancestor. - The Font to be used for drawing Text - Most of the data about the font are dealt with by the protected procedures GetData and SetData which operate on TFontData
-Individual properties such as Character Set, colour and size can be accessed in the public area
+ The Font to be used for drawing Text + +

Most of the data about the font are dealt with by the protected procedures GetData and SetData which operate on TFontData

+

Individual properties such as Character Set, colour and size can be accessed in the public area

+
@@ -1812,12 +1815,9 @@ Individual properties such as Character Set, colour and size can be accessed in - Assign - copies the LogFont or Source settings to itself - Method: TFont.Assign
+ Assign - copies the LogFont or Source settings to itself +

Method: TFont.Assign

Params: ALogFont: TLogFont or

Source: another font

Returns: nothing

-Params: ALogFont: TLogFont or Source: another font
- -Returns: nothing
Copies the logfont or source settings to itself
@@ -1893,9 +1893,7 @@ Copies the logfont or source settings to itself
- - - + The Height of the current Font @@ -2326,8 +2324,9 @@ Default is psSolid A defined Region on the screen, in which text is written - TRegionData (in same Unit) - + + TRegionData (in same Unit) + @@ -2395,11 +2394,9 @@ Default is psSolid Operating System Handle for this Region - + HRGN - THandle - diff --git a/docs/xml/lcl/stdctrls.xml b/docs/xml/lcl/stdctrls.xml index 6ad73f1743..a208250a72 100644 --- a/docs/xml/lcl/stdctrls.xml +++ b/docs/xml/lcl/stdctrls.xml @@ -5827,8 +5827,9 @@ False is set when the edit or combobox control looses focus. Is this the Default button? (default setting is False) - - + +

Defines if a button is the Default on a form. That is, pressing ENTER will execute its onClick method, whether the control has focus or not!

+
@@ -5839,8 +5840,9 @@ False is set when the edit or combobox control looses focus. Is this the Cancel button? (default setting is False) - - + +

Setting this property to true, will have the effect that when the user hits ESC this button is Clicked, even if the button does not have focus. Usually the Button which reacts to ESC sets the ModalResult of the form to mrCancel.

+
@@ -5869,29 +5871,13 @@ False is set when the edit or combobox control looses focus. - - The action executed when the user clicks the button. - If you assign an action from an ActionList to a TButton.Action the corresponding execute-method is assigned to the OnClick event of the button. - - + - - -
- -
+ - - Anchors are used to keep a button on a defined distance to certain borders of the parent control. - Anchors can be used to keep control at a certain distance from a side of its parent control, when the parent control is resized. - - + - - Autosize in - If this property is set to true, the control will automatically adapt its size to be able to accomodate its content. - - + @@ -5899,17 +5885,9 @@ False is set when the edit or combobox control looses focus. - - The fixed spacing around the border of the Button - - - + - - Setting this property will make the OnClick event executed when the user hits ESC. - Setting this property to true, will have the effect that when the user hits ESC this button is Clicked. Usually the Button which reacts to ESC sets the ModalResult of the form to mrCancel. - - + Sets the text displayed on the button. @@ -5930,11 +5908,7 @@ False is set when the edit or combobox control looses focus. - - Setting this property will make the OnClick event executed when the user hits ENTER - Defines if a button is the default on a form. That is, pressing enter will execute its onClick wether the control has focus or not! - - + @@ -5948,11 +5922,7 @@ False is set when the edit or combobox control looses focus. - - Determines if the button reacts to a click. - Setting this property determines if the control can be used. - - + Font is used to set the font of the caption of the Button. @@ -5979,9 +5949,7 @@ False is set when the edit or combobox control looses focus. - The OnClick event is triggered when a user clicks on the button The OnClick event is triggered when a user clicks on the button. It can also be invoked by calling the Click method. - @@ -6002,19 +5970,9 @@ False is set when the edit or combobox control looses focus. - - The OnEnter event is triggered when the button gets focus. - The OnEnter event is triggered when the button gets focus. - - - + - - The OnExit event is triggered when the button loses focus. - The OnExit event is triggered when the button loses focus. - - - + @@ -6100,23 +6058,11 @@ False is set when the edit or combobox control looses focus. - - TabOrder - an integer value to show where the button lies in the Tab Order for this Form - - - + - - Boolean to determine whether the Button is associated with a Tab Stop in the Tab Order for the form - - - + - - Determines whether the Button is visible. - - - + Check Box State