Project

General

Profile

$topicbox » History » Version 1

Per Amundsen, 11/24/2016 03:56 PM

1 1 Per Amundsen
_Added in 2.7_
2
3
*$topicbox(window,[N])*
4
5
Returns the text in the Topicbox of the specified window.
6
7
*Parameters*
8
9
window - The window associated with the Topicbox to use.
10
11
*Properties*
12
13
.selstart - Returns the position of the first selected character.
14
.selend - - Returns the position of the last selected character.
15
.color - Gets the current Topicbox text color in [[$rgb]] format.
16
.backcolor - Gets the current Topicbox background color in [[$rgb]] format.
17
.rgbcolor - Gets the current Topicbox text color in rrr,ggg,bbb format.
18
.rgbbackcolor - Gets the current Topicbox background color in rrr,ggg,bbb format.
19
20
*Example*
21
22
<pre>
23
; Print the content of the Topicbox.
24
//echo -ag Text is $topicbox($active) selstart is $topicbox($active).selstart selend is $topicbox($active).selend
25
</pre>