mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-06 13:07:23 +01:00
lcl: docs
git-svn-id: trunk@36322 -
This commit is contained in:
parent
21ad9e5437
commit
35a5f303ff
@ -1493,21 +1493,15 @@
|
|||||||
</element>
|
</element>
|
||||||
<!-- property Visibility: public -->
|
<!-- property Visibility: public -->
|
||||||
<element name="TCustomComboBox.SelStart">
|
<element name="TCustomComboBox.SelStart">
|
||||||
<short>The <b>zero-based</b> index of the begin of the selection in the edit box.</short>
|
<short>The <b>zero-based</b> UTF-8 index of the begin of the selection in the edit box.</short>
|
||||||
<descr>
|
<descr><p>If text is selected, this is the starting position, otherwise the cursor position.
|
||||||
<p>If text is selected, this is the starting position, otherwise the cursor position.
|
</p><p>When no text is selected, SelStart is the cursor position, and SelLength=0.
|
||||||
</p>
|
</p><p>Writing moves the cursor, and removes the selection.
|
||||||
<p>When no text is selected, SelStart is the cursor position, and SelLength=0.
|
Set SelLength after changing SelStart, to establish a new selection.
|
||||||
</p><p>
|
</p><p>SelStart is a <b>zero-based</b> UTF-8 index into Text, in contrast to usual <b>1-based</b> string indices. A value 1 means the second UTF-8 character.
|
||||||
Writing moves the cursor, and removes the selection.
|
</p>
|
||||||
Set SelLength after changing SelStart, to establish a new selection.
|
|
||||||
</p><p>
|
|
||||||
SelStart is a <b>zero-based</b> index into Text, in contrast to usual <b>1-based</b> string indices.
|
|
||||||
</p>
|
|
||||||
</descr>
|
</descr>
|
||||||
<seealso>
|
<seealso><link id="TCustomComboBox.SelLength"/><link id="TCustomComboBox.SelText"/>
|
||||||
<link id="TCustomComboBox.SelLength"/>
|
|
||||||
<link id="TCustomComboBox.SelText"/>
|
|
||||||
</seealso>
|
</seealso>
|
||||||
<notes><note>?</note>
|
<notes><note>?</note>
|
||||||
</notes>
|
</notes>
|
||||||
@ -1515,8 +1509,8 @@
|
|||||||
<!-- property Visibility: public -->
|
<!-- property Visibility: public -->
|
||||||
<element name="TCustomComboBox.SelText">
|
<element name="TCustomComboBox.SelText">
|
||||||
<short>The selected text in the edit box.</short>
|
<short>The selected text in the edit box.</short>
|
||||||
<descr>Assign an new string to replace the selected text.
|
<descr>This string is defined by SelStart and SelLength.
|
||||||
</descr>
|
Assign an new string to replace the selected text.</descr>
|
||||||
<seealso>
|
<seealso>
|
||||||
<link id="TCustomComboBox.SelStart"/>
|
<link id="TCustomComboBox.SelStart"/>
|
||||||
<link id="TCustomComboBox.SelLength"/>
|
<link id="TCustomComboBox.SelLength"/>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user