mIRC Home    About    Download    Register    News    Help

Print Thread
#100222 11/10/04 02:02 AM
Joined: Jun 2003
Posts: 67
D
Babel fish
OP Offline
Babel fish
D
Joined: Jun 2003
Posts: 67
i have a list and i set the height at 41 and its too short wen i change it to 42 it jumps almost a 1/4th inch on my screen, there is no happy medium, its in dbu btw.


while (demi == nub) {
inc %skill
}
#100223 11/10/04 02:08 AM
Joined: Jun 2003
Posts: 67
D
Babel fish
OP Offline
Babel fish
D
Joined: Jun 2003
Posts: 67
all values from 42 to 49 give me the same height


while (demi == nub) {
inc %skill
}
#100224 11/10/04 02:16 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Use the size style. e.g.
list 1, 1 1 47 40, size

If you do not use the size property the listbox defaults to a size in which a whole number of lines will fit (e.g. 4 not 4.5).

#100225 11/10/04 02:17 AM
Joined: Jun 2003
Posts: 67
D
Babel fish
OP Offline
Babel fish
D
Joined: Jun 2003
Posts: 67
lil code to help clarify
Code:
box "Alert Words", 11, 126 0 74 74
  edit "", 12, 130 9 46 10, autohs
  button "Add", 13, 130 21 18 10
  button "Remove", 14, 150 21 26 10
  list 15, 130 33 46  [color:red] 42 [/color] 

and anything between
Code:
  box "Alert Words", 11, 126 0 74 74
  edit "", 12, 130 9 46 10, autohs
  button "Add", 13, 130 21 18 10
  button "Remove", 14, 150 21 26 10
  list 15, 130 33 46   [color:red] 49 [/color]  


while (demi == nub) {
inc %skill
}
#100226 11/10/04 02:19 AM
Joined: Jun 2003
Posts: 67
D
Babel fish
OP Offline
Babel fish
D
Joined: Jun 2003
Posts: 67
thakn you laugh


while (demi == nub) {
inc %skill
}

Link Copied to Clipboard