From 4570f64d4df0033aacb94a742023418ebaed4448 Mon Sep 17 00:00:00 2001 From: vincents Date: Sat, 8 Dec 2007 10:11:31 +0000 Subject: [PATCH] lcl docs: fixed xml syntax. git-svn-id: trunk@13217 - --- docs/xml/lcl/controls.xml | 8 +++----- docs/xml/lcl/lclversion.xml | 2 +- docs/xml/lcl/stdctrls.xml | 3 ++- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/xml/lcl/controls.xml b/docs/xml/lcl/controls.xml index a08f5ea89a..5be02250e6 100644 --- a/docs/xml/lcl/controls.xml +++ b/docs/xml/lcl/controls.xml @@ -4045,9 +4045,7 @@ mrLast=mrYesToAll=10 valid. Negative or 0 are treated as undefined and the LCL uses other sizes instead.

TWinControl overrides this and asks the interface for theme dependent values. See TWinControl.CalculatePreferredSize for more information.

WithThemeSpace: If true, adds space for stacking.

For example: TRadioButton has a minimum size. But for stacking multiple TRadioButtons there should be - some space around. This space is theme dependent, so the parameter is passed to the widgetset

- -. + some space around. This space is theme dependent, so the parameter is passed to the widgetset.

@@ -5590,8 +5588,8 @@ mrLast=mrYesToAll=10 EditingDone - what to do when you have finished editing

TControl.EditingDone -

Called when user has finished editing. This procedure can be used by data links to commit the changes

. -

For example:

  • When focus switches to another control (default)
  • +

    Called when user has finished editing. This procedure can be used by data links to commit the changes.

    +

    For example:

    • When focus switches to another control (default)
    • When user selected another item

    It's totally up to the control, what events will commit.

    diff --git a/docs/xml/lcl/lclversion.xml b/docs/xml/lcl/lclversion.xml index 340cbc47b5..728e217426 100644 --- a/docs/xml/lcl/lclversion.xml +++ b/docs/xml/lcl/lclversion.xml @@ -16,7 +16,7 @@ writers and component writers can offer different functionality or workarounds for bugs and take the LCL version into account while choosing their algorithms at run-time.

    Likewise, these version constants can be used at compile time in an conditional -expressions, such as {$IFDEF lcl_major>0}. Currently these kinds of +expressions, such as {$IFDEF lcl_major>0}. Currently these kinds of epressions are only support in {$mode delphi}. Recently fpc 2.3.1 added support for these kind of expressions in {$mode delphi}.

    diff --git a/docs/xml/lcl/stdctrls.xml b/docs/xml/lcl/stdctrls.xml index 994d5dfee2..d83fbdc335 100644 --- a/docs/xml/lcl/stdctrls.xml +++ b/docs/xml/lcl/stdctrls.xml @@ -5897,7 +5897,8 @@ Indicates how text is displayed in a text editing control.

    TCustomCheckBox is the ancestor of all check-box components. -

    TCustomCheckBox: The base (abstract) class from which the TCheckBox is derived

    .

    Check boxes present the user with options that can be selected (checked) or deselected (unchecked).

    +

    TCustomCheckBox: The base (abstract) class from which the TCheckBox is derived.

    +

    Check boxes present the user with options that can be selected (checked) or deselected (unchecked).