mIRC Homepage
Posted By: Armada listbox @window - 22/03/05 07:26 AM
I have a few things being added to a listbox @window, was just curious if its possible to make the window scroll as things are added like in a chat window
Posted By: Iori Re: listbox @window - 22/03/05 08:16 AM
Depending on how you're adding them, and on how many lines, perhaps
  • sline @win $line(@win,0)
    sline -r @win
Posted By: Armada Re: listbox @window - 22/03/05 08:18 AM
aline -p @SClients $timestamp $1- is what Im using, ill see what your stuff does
---
That works, but Im trying to avoid selecting, b/c Nasty things will happend to selected lines
Posted By: Iori Re: listbox @window - 22/03/05 08:25 AM
That'sactually two lines, one selects, the next deselects. :[/b])
Posted By: Armada Re: listbox @window - 22/03/05 08:36 AM
oooo lol
but this could still be a problem Hmmm
Posted By: DaveC Re: listbox @window - 22/03/05 09:41 PM
//aline @win DumptyDoo | sline -a @win $line(@win,0) | dline @win $line(@win,0)

I assume the window isnt sorted here.

If it is make DumptyDoo the highest possable value $str(20,$chr(255)) or lowest possable value ($chr(1)) (based on what direction you sorted)
Posted By: Armada Re: listbox @window - 23/03/05 03:09 PM
again sline is being used, I have to avoid that, or else itll be a bad thing wihen I right click and click my option
Posted By: DaveC Re: listbox @window - 23/03/05 08:22 PM
There is no extra line selected at the end of those 3 statements. Its (1) make a extra line at the bottom, select it (causing the bar to scroll to it), delete it

If this does leave some type of residue effect im not aware of, can you please explain it or how it might effect your command.
© mIRC Discussion Forums