mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-06 09:38:15 +02:00
Docs: LCL/editbtn. Removes extra spaces in topics. Updates tagging for True and False values.
This commit is contained in:
parent
7a89aa3cb2
commit
fb8f4bd664
@ -399,10 +399,10 @@
|
||||
<short>Indicates whether the Button for the control should be visible.</short>
|
||||
<descr>
|
||||
<p>
|
||||
<var>CalcButtonVisible</var> is a <var>Boolean</var> function used to determine whether the <var>Button</var> for the control should be visible. The return value is True when the control is Visible and the Edit has focus, or the control is not configured to display its button only when focused.
|
||||
<var>CalcButtonVisible</var> is a <var>Boolean</var> function used to determine whether the <var>Button</var> for the control should be visible. The return value is <b>True</b> when the control is Visible and the Edit has focus, or the control is not configured to display its button only when focused.
|
||||
</p>
|
||||
<remark>
|
||||
The return value is always True at design-time.
|
||||
The return value is always <b>True</b> at design-time.
|
||||
</remark>
|
||||
<p>
|
||||
CalcButtonVisible is used in the implementation of the <var>CheckButtonVisible</var> method.
|
||||
@ -500,7 +500,7 @@
|
||||
|
||||
<element name="TCustomEditButton.ButtonOnlyWhenFocused">
|
||||
<short>
|
||||
<var>ButtonOnlyWhenFocused</var> - if True, the SpeedButton only appears when focus is given to the EditButton control.
|
||||
<var>ButtonOnlyWhenFocused</var> - if <b>True</b>, the SpeedButton only appears when focus is given to the EditButton control.
|
||||
</short>
|
||||
<descr/>
|
||||
<seealso/>
|
||||
@ -527,7 +527,8 @@
|
||||
|
||||
<element name="TCustomEditButton.Flat">
|
||||
<short>
|
||||
<var>Flat</var> - if True, SpeedButton appears flat rather than three-dimensional.</short>
|
||||
When <b>True</b>, the SpeedButton has a flat appearance rather than a three-dimensional one.
|
||||
</short>
|
||||
<descr/>
|
||||
<seealso/>
|
||||
</element>
|
||||
@ -606,11 +607,11 @@
|
||||
|
||||
<element name="TCustomEditButton.Create">
|
||||
<short>
|
||||
<var>Create</var> - constructor for <var>TCustomEditButton</var>: calls inherited <var>Create</var> then sets some defaults and initializes some variables.
|
||||
Constructor for the class instance.
|
||||
</short>
|
||||
<descr>
|
||||
<p>
|
||||
<var>Create</var> - constructor for <var>TCustomEditButton</var>: calls inherited <var>Create</var> then sets some defaults and initializes some variables.
|
||||
<var>Create</var> is the constructor for <var>TCustomEditButton</var>. It calls the inherited <var>Create</var> method then sets default values and initializes variables.
|
||||
</p>
|
||||
<p>
|
||||
Initializes height and width, cursor, glyph, style, checks visibility, event handler for click.
|
||||
@ -664,7 +665,7 @@
|
||||
</short>
|
||||
<descr>
|
||||
<p>
|
||||
AutoSize is a Boolean property which allows the control to automatically adjustment its size to the content in the control. The default value for the property is True in TEditButton.
|
||||
AutoSize is a Boolean property which allows the control to automatically adjustment its size to the content in the control. The default value for the property is <b>True</b> in TEditButton.
|
||||
</p>
|
||||
</descr>
|
||||
<seealso>
|
||||
@ -799,7 +800,9 @@
|
||||
</seealso>
|
||||
</element>
|
||||
<element name="TFilterItemEvent.Result">
|
||||
<short>True if the item matches the filter implemented in the event handler.</short>
|
||||
<short>
|
||||
<b>True</b> if the item matches the filter implemented in the event handler.
|
||||
</short>
|
||||
</element>
|
||||
<element name="TFilterItemEvent.ItemData">
|
||||
<short>Pointer to the data for the item examined in the event handler.</short>
|
||||
@ -830,7 +833,9 @@
|
||||
</seealso>
|
||||
</element>
|
||||
<element name="TFilterItemExEvent.Result">
|
||||
<short>True if the item matches the filter implemented in the event handler.</short>
|
||||
<short>
|
||||
<b>True</b> if the item matches the filter implemented in the event handler.
|
||||
</short>
|
||||
</element>
|
||||
<element name="TFilterItemExEvent.ACaption">
|
||||
<short>Caption or display name for the item examined in the event handler.</short>
|
||||
@ -857,7 +862,7 @@
|
||||
</seealso>
|
||||
</element>
|
||||
<element name="TCheckItemEvent.Result">
|
||||
<short>True when the item is checked.</short>
|
||||
<short><b>True</b> when the item is checked.</short>
|
||||
</element>
|
||||
<element name="TCheckItemEvent.Item">
|
||||
<short>Object examined in the method.</short>
|
||||
@ -940,13 +945,13 @@
|
||||
</descr>
|
||||
<short>
|
||||
<p>
|
||||
The value is True when <var>TextHint</var> contains a value other than the <var>rsFilter</var> resource string.
|
||||
The value is <b>True</b> when <var>TextHint</var> contains a value other than the <var>rsFilter</var> resource string.
|
||||
</p>.
|
||||
</short>
|
||||
<seealso></seealso>
|
||||
</element>
|
||||
<element name="TCustomControlFilterEdit.IsTextHintStored.Result">
|
||||
<short>True when TextHint is included in the LCL component stream.</short>
|
||||
<short><b>True</b> when TextHint is included in the LCL component stream.</short>
|
||||
</element>
|
||||
|
||||
<element name="TCustomControlFilterEdit.fNeedUpdate">
|
||||
@ -998,7 +1003,7 @@
|
||||
Signals the OnFilterItemEx (preferred) or OnFilterItem (deprecated) event handlers (when assigned) to determine if the item meets the filter condition. Values in ACaption and ItemData are passed as arguments to the event handlers.
|
||||
</p>
|
||||
<p>
|
||||
The return value is True when the item meets the filter condition(s) implemented in the event handlers. The DoDefaultFilterItem method is called when the return value is False, or the event handlers are not assigned in the class instance.
|
||||
The return value is <b>True</b> when the item meets the filter condition(s) implemented in the event handlers. The DoDefaultFilterItem method is called when the return value is <b>False</b>, or the event handlers are not assigned in the class instance.
|
||||
</p>
|
||||
</descr>
|
||||
<seealso>
|
||||
@ -1008,7 +1013,7 @@
|
||||
</seealso>
|
||||
</element>
|
||||
<element name="TCustomControlFilterEdit.DoDefaultFilterItem.Result">
|
||||
<short>True when the item meets the filter condition.</short>
|
||||
<short><b>True</b> when the item meets the filter condition.</short>
|
||||
</element>
|
||||
<element name="TCustomControlFilterEdit.DoDefaultFilterItem.ACaption">
|
||||
<short>Caption for the item passed to DoDefaultFilterItem.</short>
|
||||
@ -1023,7 +1028,7 @@
|
||||
<seealso></seealso>
|
||||
</element>
|
||||
<element name="TCustomControlFilterEdit.DoFilterItem.Result">
|
||||
<short>Returns True when the item meets the filter criterion.</short>
|
||||
<short>Returns <b>True</b> when the item meets the filter criterion.</short>
|
||||
</element>
|
||||
<element name="TCustomControlFilterEdit.DoFilterItem.ACaption">
|
||||
<short>Caption for the item.</short>
|
||||
@ -1079,7 +1084,7 @@
|
||||
<short>Filters the data and updates the container.</short>
|
||||
<descr>
|
||||
<p>
|
||||
Does its job at once when Immediately is set to True. Otherwise, it connects the OnIdle event handler which applies the filter when the Application is idle.
|
||||
Does its job at once when Immediately is set to <b>True</b>. Otherwise, it connects the OnIdle event handler which applies the filter when the Application is idle.
|
||||
</p>
|
||||
</descr>
|
||||
</element>
|
||||
@ -1173,7 +1178,9 @@
|
||||
<seealso></seealso>
|
||||
</element>
|
||||
<element name="TCustomControlFilterEdit.ReturnKeyHandled.Result">
|
||||
<short>True if OnKeyPress is assigned and handles the VK_RETURN key code.</short>
|
||||
<short>
|
||||
<b>True</b> if OnKeyPress is assigned and handles the VK_RETURN key code.
|
||||
</short>
|
||||
</element>
|
||||
|
||||
<element name="TCustomControlFilterEdit.GetDefaultGlyphName" link="#lcl.editbtn.TCustomEditButton.GetDefaultGlyphName"/>
|
||||
@ -1195,11 +1202,11 @@
|
||||
<dt>CharCase</dt>
|
||||
<dd>Set to ecLowerCase</dd>
|
||||
<dt>Button.Enabled</dt>
|
||||
<dd>Set to False</dd>
|
||||
<dd>Set to <b>False</b></dd>
|
||||
<dt>FilterOptions</dt>
|
||||
<dd>Set to an empty set</dd>
|
||||
<dt>FIsFirstUpdate, fIsFirstSetFormActivate</dt>
|
||||
<dd>Set to True</dd>
|
||||
<dd>Set to <b>True</b></dd>
|
||||
<dt>TextHint</dt>
|
||||
<dd>Set to rsFilter</dd>
|
||||
</dl>
|
||||
@ -1370,7 +1377,7 @@
|
||||
|
||||
<element name="TCustomControlFilterEdit.OnFilterItem">
|
||||
<short>
|
||||
An event handler to give extra conditions for filtering, in addition to the default behavior. Returns True if the passes the filter.
|
||||
An event handler to give extra conditions for filtering, in addition to the default behavior. Returns <b>True</b> if the passes the filter.
|
||||
</short>
|
||||
<descr>
|
||||
This feature has, for example, enabled filtering the Options windows in Lazarus IDE based on captions for all controls on the options pages. Deprecated. Use OnFilterItemEx with a caption parameter instead.
|
||||
@ -1642,7 +1649,9 @@
|
||||
</element>
|
||||
|
||||
<element name="TFileNameEdit.EditChange">
|
||||
<short>Performs actions needed when the value for the control has been changed.</short>
|
||||
<short>
|
||||
Performs actions needed when the value for the control has been changed.
|
||||
</short>
|
||||
<descr></descr>
|
||||
<seealso></seealso>
|
||||
</element>
|
||||
@ -1816,7 +1825,7 @@
|
||||
<short>Hide directory name from edit.</short>
|
||||
<descr>
|
||||
<p>
|
||||
If <var>HideDirectories</var> is set to true, the file name editor displays only a file name, without path.
|
||||
If <var>HideDirectories</var> is set to <b>True</b>, the file name editor displays only a file name, without path.
|
||||
</p>
|
||||
<remark>
|
||||
This may be useful if application allows user to select files from a fixed directory with a long path.
|
||||
@ -2157,11 +2166,11 @@
|
||||
|
||||
<element name="TDirectoryEdit.ShowHidden">
|
||||
<short>
|
||||
<var>ShowHidden</var> - if True, display names of hidden directories.
|
||||
<var>ShowHidden</var> - if <b>True</b>, display names of hidden directories.
|
||||
</short>
|
||||
<descr>
|
||||
<p>
|
||||
<var>ShowHidden</var> - if True, display names of hidden directories. In Windows etc, show directories under 'Windows' and branches; in Linux etc show directories with preceding dot e.g. '.Lazarus'.
|
||||
When <var>ShowHidden</var> is <b>True</b>, the names for hidden directories are displayed. In Windows, this show directories under 'Windows' and branches; in Linux, show directories with preceding dot e.g. '.Lazarus'.
|
||||
</p>
|
||||
</descr>
|
||||
<seealso/>
|
||||
@ -2182,7 +2191,9 @@
|
||||
</element>
|
||||
|
||||
<element name="TDirectoryEdit.ButtonHint">
|
||||
<short>Hint displayed when the mouse hovers over the button for the control.</short>
|
||||
<short>
|
||||
Hint displayed when the mouse hovers over the button for the control.
|
||||
</short>
|
||||
<descr></descr>
|
||||
<seealso></seealso>
|
||||
</element>
|
||||
@ -2282,7 +2293,7 @@
|
||||
<short>TDateTime value examined in the method.</short>
|
||||
</element>
|
||||
<element name="TAcceptDateEvent.AcceptDate">
|
||||
<short>Indicates if the Date/Time can be accepted when True.</short>
|
||||
<short>Indicates if the Date/Time can be accepted when <b>True</b>.</short>
|
||||
</element>
|
||||
|
||||
<element name="TCustomDateEvent">
|
||||
@ -2664,7 +2675,7 @@
|
||||
<element name="TDateEdit.Button" link="#lcl.editbtn.TCustomEditButton.Button"/>
|
||||
|
||||
<element name="TDateEdit.DroppedDown">
|
||||
<short>Indicates the dialog for control is visible when True.</short>
|
||||
<short>Indicates the dialog for control is visible when <b>True</b>.</short>
|
||||
<descr></descr>
|
||||
<seealso></seealso>
|
||||
</element>
|
||||
@ -2701,10 +2712,12 @@
|
||||
|
||||
<element name="TDateEdit.DefaultToday">
|
||||
<short>
|
||||
<var>DefaultToday</var> - if True, the current date is offered as the default date (value is False by default).
|
||||
When <b>True</b>, the current date is offered as the default date (value is <b>False</b> by default).
|
||||
</short>
|
||||
<descr>
|
||||
Default value for the property is <b>False</b>.
|
||||
<p>
|
||||
The default value for the property is <b>False</b>.
|
||||
</p>
|
||||
</descr>
|
||||
<seealso></seealso>
|
||||
</element>
|
||||
@ -2821,7 +2834,7 @@
|
||||
<short>Time value examined in the method.</short>
|
||||
</element>
|
||||
<element name="TAcceptTimeEvent.AcceptTime">
|
||||
<short>Indicates the time value is accepted when True.</short>
|
||||
<short>Indicates the time value is accepted when <b>True</b>.</short>
|
||||
</element>
|
||||
|
||||
<element name="TCustomTimeEvent">
|
||||
|
Loading…
Reference in New Issue
Block a user