mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 10:49:16 +02:00
Docs: LCL/extctrls. Adds TCustomPanel.ShowAccelChar topics for changes in eff48575
.
This commit is contained in:
parent
eff48575cf
commit
05a08632cd
@ -6225,6 +6225,7 @@ the panel.
|
|||||||
<element name="TCustomPanel.FAlignment"/>
|
<element name="TCustomPanel.FAlignment"/>
|
||||||
<element name="TCustomPanel.FVertAlignment"/>
|
<element name="TCustomPanel.FVertAlignment"/>
|
||||||
<element name="TCustomPanel.FFullRepaint"/>
|
<element name="TCustomPanel.FFullRepaint"/>
|
||||||
|
<element name="TCustomPanel.FShowAccelChar"/>
|
||||||
<element name="TCustomPanel.FWordWrap"/>
|
<element name="TCustomPanel.FWordWrap"/>
|
||||||
|
|
||||||
<element name="TCustomPanel.PaintBevel">
|
<element name="TCustomPanel.PaintBevel">
|
||||||
@ -6322,6 +6323,17 @@ draw using both the <var>BevelInner</var> and <var>BevelOuter</var> styles.
|
|||||||
<short>New value for the property.</short>
|
<short>New value for the property.</short>
|
||||||
</element>
|
</element>
|
||||||
|
|
||||||
|
<element name="TCustomPanel.SetShowAccelChar">
|
||||||
|
<short>
|
||||||
|
Sets the value for the ShowAccelChar property.
|
||||||
|
</short>
|
||||||
|
</element>
|
||||||
|
<element name="TCustomPanel.SetShowAccelChar.Value">
|
||||||
|
<short>
|
||||||
|
New value for the ShowAccelChar property.
|
||||||
|
</short>
|
||||||
|
</element>
|
||||||
|
|
||||||
<element name="TCustomPanel.SetVertAlignment">
|
<element name="TCustomPanel.SetVertAlignment">
|
||||||
<short>Sets the value for the VerticalAlignment property.</short>
|
<short>Sets the value for the VerticalAlignment property.</short>
|
||||||
<descr/>
|
<descr/>
|
||||||
@ -6525,6 +6537,43 @@ change message is handled for the control.
|
|||||||
<seealso/>
|
<seealso/>
|
||||||
</element>
|
</element>
|
||||||
|
|
||||||
|
<element name="TCustomPanel.ShowAccelChar">
|
||||||
|
<short>
|
||||||
|
Controls the display of accelerator or hot keys in the Caption for the panel.
|
||||||
|
</short>
|
||||||
|
<descr>
|
||||||
|
<p>
|
||||||
|
<var>ShowAccelChar</var> is a <var>Boolean</var> property which indicates
|
||||||
|
whether accelerator keys in the Caption property are drawn when the panel is
|
||||||
|
displayed. The default value for the property is <b>False</b>, and causes an
|
||||||
|
Ampersand character (&) in Caption to be rendered using its character
|
||||||
|
value instead of as an accelerator.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
When set to <b>True</b>, an Ampersand character indicates that the following
|
||||||
|
character is an accelerator or hot key. The Ampersand character is removed
|
||||||
|
from the rendered value and an underline is drawn beneath the accelerator
|
||||||
|
key. In this case, double Ampersand characters (&&) can be used to
|
||||||
|
renderer a single Ampersand on the panel.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
ShowAccelChar allows Caption rendering to behave like the panel
|
||||||
|
implementation in the Delphi VCL.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
ShowAccelChar is used in the Paint method, and controls the ShowPrefix value
|
||||||
|
in the text style used to render the Caption on the control.
|
||||||
|
</p>
|
||||||
|
</descr>
|
||||||
|
<seealso>
|
||||||
|
<link id="TCustomPanel.Paint"/>
|
||||||
|
<link id="#lcl.controls.TControl.Caption">TControl.Caption</link>
|
||||||
|
</seealso>
|
||||||
|
<version>
|
||||||
|
Added in LCL version 2.4.
|
||||||
|
</version>
|
||||||
|
</element>
|
||||||
|
|
||||||
<element name="TCustomPanel.VerticalAlignment">
|
<element name="TCustomPanel.VerticalAlignment">
|
||||||
<short>
|
<short>
|
||||||
Vertical alignment for the caption text displayed on the panel.
|
Vertical alignment for the caption text displayed on the panel.
|
||||||
|
Loading…
Reference in New Issue
Block a user