mIRC Home    About    Download    Register    News    Help

Print Thread
#84709 31/05/04 06:04 AM
Joined: Mar 2004
Posts: 36
N
Nodren Offline OP
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Mar 2004
Posts: 36
this seems to me to be an easily accomplished task... yet im having alot of difficulty doing it, and im hoping someone can help me with this.

I have a dialog im making, it has a text box of sorts(edit, list, whatever will work) and basicly the script will put information into this box, which cant be edited, only read. well when the text is longer then a single line that control allows, i dont want it to wrap to the next line, instead enable the horizontal bar(so they have to scroll left and right to see that single line). well so far experementing with edit box, and list boxes i cant seem to get the desired effect, any ideas?

#84710 31/05/04 02:39 PM
Joined: Mar 2004
Posts: 108
X
Vogon poet
Offline
Vogon poet
X
Joined: Mar 2004
Posts: 108
maybe the hsbar is what your looking for?

example:

list 1, 5 240 340 100, hsbar

hope that helps - cheers


sometimes these are as bad as quit messages :tongue:
#84711 31/05/04 07:28 PM
Joined: Mar 2004
Posts: 36
N
Nodren Offline OP
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Mar 2004
Posts: 36
i found an easy way to accomplish this... i'll post for others in case they have similar issues.

i used an edit box with the properties: read multi autohs hsbar vsbar return

then, anything that comes in i add to the end of a txt file(that is cleared when the dialog first opens)

and i use /loadbuf -ro dialogname id txtfile

that will automatically pend any new lines from the text file you write to into the dialog id. works very nicely.

#84712 02/06/04 03:11 AM
Joined: Feb 2003
Posts: 67
N
Naz Offline
Babel fish
Offline
Babel fish
N
Joined: Feb 2003
Posts: 67
Use the 'z' switch also when you add the info to the list box.

did -az dname id Your text here.

The 'z' switch resets the width of horizontal scrollbar in listbox


Those who live by the sword get shot by those who don't.

Link Copied to Clipboard