mIRC Home    About    Download    Register    News    Help

Print Thread
T
Tuxman
Tuxman
T
Obviously, the /loadbuf command - or the Edit control - has an undocumented character limit.

Given the following alias:

Code:
alias -l fillListText {
  if ($dialog($1) && ($2 isnum) && $3) {
    if ($did($1,$2).lines <= 1) {
      loadbuf -o $1 $2 $3
      did -z $1 $2
    }
  }
}


We want to display the GNU GPL (quite a long file) in the Edit control $did(setup,503).

Code:
fillListText setup 503 media\license.txt


The file is available here: http://minus.com/mB2D5XLc3/

Still something is apparently missing:



I presume this is not intended.

Joined: Jul 2006
Posts: 4,022
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,022
Editboxes are known to be limited in the amount of data you can display, however, the "rich" option of editboxes allow you to display an unlimited amount of data, are you using this option?

Edit: it works with that option.

Last edited by Wims; 14/06/12 12:05 PM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel
T
Tuxman
Tuxman
T
That should be documented IMO.

Thank you for the advice!

Joined: Jul 2006
Posts: 4,022
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,022
It is documented laugh
Quote:
edit "text", id, x y w h, style (right, center, multi, pass, read, return, hsbar, vsbar, autohs, autovs, limit N, rich)



#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard