mIRC Home    About    Download    Register    News    Help

Print Thread
#152651 04/07/06 01:44 AM
Joined: Nov 2004
Posts: 21
D
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Nov 2004
Posts: 21
Hi,

I have made a few custom windows to log all server messages for the server I am an IRCOp on.
However, how do I make the windows have a horizontal scrollbar?

Sorry if I have overlooked anything, I've looked through help and searched forum, I haven't slept in 28 hours, so again, sorry if I have missed anything.

Thanks in advance, Dertikter.

#152652 04/07/06 02:19 AM
Joined: Dec 2002
Posts: 417
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
I do not belive you can add a horizontal scrollbar to a custom window
But, The -p switch forces the line of text to be wrapped if it's too long
to fit on one line. if you are using one of the lines below to add a line
to a custom window


/aline -p <@name> <text> add line to list
/cline -p <@name> <N> changes the color of the Nth line to color C
/dline -p <@name> <N[-N2]> delete Nth line through N2th line
/iline -p <@name> <N> <text> insert line at Nth line
/rline -p <@name> <N> <text> replace Nth line
/sline -p <@name> <N> select Nth line




Intelligence: It's better to ask a stupid question, then to prove it by not asking....
#152653 04/07/06 02:47 AM
Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
You can only add a horizontal scroll bar if you make the window into a listbox (/window -l @window). You can then use /window -b @window to update the width of the horizontal scroll bar after adding a new item.

-genius_at_work


Link Copied to Clipboard