mIRC Homepage
Posted By: demitrix dbu problem - 11/10/04 02:02 AM
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.
Posted By: demitrix Re: dbu problem - 11/10/04 02:08 AM
all values from 42 to 49 give me the same height
Posted By: Collective Re: dbu problem - 11/10/04 02:16 AM
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).
Posted By: demitrix Re: dbu problem - 11/10/04 02:17 AM
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]  
Posted By: demitrix Re: dbu problem - 11/10/04 02:19 AM
thakn you laugh
© mIRC Discussion Forums