mIRC Home    About    Download    Register    News    Help

Print Thread
Creating A Window Listbox With A Horizontal Scroll #214111 18/07/09 07:13 PM
Joined: Oct 2005
Posts: 122
O
onesikgypo Offline OP
Vogon poet
OP Offline
Vogon poet
O
Joined: Oct 2005
Posts: 122
Hi,

I'm having a total mind blank as to how to get my window listbox to have a horizontal scroll, as currently the text gets cut off, with no way of scrolling across.

My Current window command is:

Code:
 window -Ck0ml -t5,10,15,45,50,55 +enstx @Window Arial 12 


Any help would be greatly appreciated. Thanks.

Re: Creating A Window Listbox With A Horizontal Scroll [Re: onesikgypo] #214112 18/07/09 07:26 PM
Joined: Jun 2007
Posts: 933
5
5618 Offline
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
See /help file
Code:
/window -b @Window

That?

Re: Creating A Window Listbox With A Horizontal Scroll [Re: 5618] #214113 18/07/09 07:41 PM
Joined: Oct 2005
Posts: 122
O
onesikgypo Offline OP
Vogon poet
OP Offline
Vogon poet
O
Joined: Oct 2005
Posts: 122
i had looked at the help file before posting,

adding the b flag did not create a horizontal scroll for me.

Re: Creating A Window Listbox With A Horizontal Scroll [Re: onesikgypo] #214114 18/07/09 08:20 PM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Just adding the b flag to your current /window command won't do the job. You have to issue
Code:
/window -b <@window>
each time you want the scrollbar updated. Also note that the scrollbar will not show if there is no need for it.

Thus you would create your window (as you already do), then put information into the listbox, then use the
Code:
/window -b <@window>

Re: Creating A Window Listbox With A Horizontal Scroll [Re: RusselB] #214115 18/07/09 08:50 PM
Joined: Oct 2005
Posts: 122
O
onesikgypo Offline OP
Vogon poet
OP Offline
Vogon poet
O
Joined: Oct 2005
Posts: 122
alright, i was trying to do as you say by just putting it into the initial command. I understand now.

Thanks for your help.

Re: Creating A Window Listbox With A Horizontal Scroll [Re: onesikgypo] #214116 18/07/09 09:04 PM
Joined: Jun 2007
Posts: 933
5
5618 Offline
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
Yeah, my mistake, I should've been clear about that.
It's equivalent to the /did -z command for dialogs.

Re: Creating A Window Listbox With A Horizontal Scroll [Re: 5618] #214117 18/07/09 09:43 PM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
The help file should be made clearer regarding that, in both sections. The /did and /window areas.