|
|
Joined: Nov 2003
Posts: 2,327
Hoopy frood
|
OP
Hoopy frood
Joined: Nov 2003
Posts: 2,327 |
list <id>, <x y width height>, sizeDoes anyone know exactly what this does? I know it changes the size of the listbox but I need something more specific than that.
New username: hixxy
|
|
|
|
Joined: Aug 2003
Posts: 1,831
Hoopy frood
|
Hoopy frood
Joined: Aug 2003
Posts: 1,831 |
Well there is this - 72.Added custom dialog style 'size' for listboxes, forces the listbox
to be sized to the vertical size you specify instead of being rounded to the nearest whole size for a listbox item.
|
|
|
|
Joined: Dec 2002
Posts: 2,962
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,962 |
That's the theory anyway. Upon testing it seems it quite often ends up being rounded by up to two line-height's from the given value when size isn't used.
Spelling mistakes, grammatical errors, and stupid comments are intentional.
|
|
|
|
Joined: Nov 2003
Posts: 2,327
Hoopy frood
|
OP
Hoopy frood
Joined: Nov 2003
Posts: 2,327 |
I saw that but that's not what it does, I thought maybe it had changed since. Sometimes it gets big enough to show 2-3 extra items. Edit: Here's an example: dialog t {
title ""
size -1 -1 114 318
option dbu
list 1, 1 2 50 314, size
}
on *:dialog:t:init:*:{
didtok $dname 1 32 a b c d e f g h i j k l m n o p q r s t u v w x y z 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
} /dialog -m t t
Last edited by tidy_trax; 21/03/05 11:36 PM.
New username: hixxy
|
|
|
|
Joined: Aug 2003
Posts: 1,831
Hoopy frood
|
Hoopy frood
Joined: Aug 2003
Posts: 1,831 |
I don't know how it calced, but without it mIRC rounds down to fit only whole lines, whereas using it you can see partial lines (depending of course on the size specified).
|
|
|
|
Joined: Aug 2003
Posts: 1,831
Hoopy frood
|
Hoopy frood
Joined: Aug 2003
Posts: 1,831 |
Yeah, it can, the calculatons seem a little odd sometimes. :[/b])
|
|
|
|
Joined: Nov 2003
Posts: 2,327
Hoopy frood
|
OP
Hoopy frood
Joined: Nov 2003
Posts: 2,327 |
Instead of starting a new topic about an almost identical question, i'll ask here.
Can anyone see any differences between the "multsel" and "extsel" properties other than not being able to select multiple items by Shift+Click and dragging the mouse? It seems kinda pointless to me.
New username: hixxy
|
|
|
|
Joined: Jan 2003
Posts: 2,523
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 2,523 |
'multsel' allows sticky selections, ie you click on an item, it is selected and it stays that way until you click on it again. Clicking on another line doesn't affect the selection status of the first. I guess this makes it handy when you want to select multiple non-consecutive items. With 'extsel' you need to hold Ctrl while doing that.
/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
|
|
|
|
Joined: Nov 2003
Posts: 2,327
Hoopy frood
|
OP
Hoopy frood
Joined: Nov 2003
Posts: 2,327 |
Thanks.
New username: hixxy
|
|
|
|
|
|