mIRC Homepage
Posted By: Dertikter Custom Window - 04/07/06 01:44 AM
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.
Posted By: Othello Re: Custom Window - 04/07/06 02:19 AM
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
Posted By: genius_at_work Re: Custom Window - 04/07/06 02:47 AM
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
© mIRC Discussion Forums