mIRC Homepage
Posted By: sparta dialog boxes - 15/06/07 09:18 PM
Is this a bug? create a box in a dialog with a text:

box "Testing this",2, 2 2 82 26

and now create one:

box "&Testing this",2, 2 2 82 26

see the difference in the box? dosent mather where you put the & sign.

box "Testing &this",2, 2 2 82 26


give the same result, it adds like a space and the end of the text, is this a bug? or can someone explain it? the & sign will underline the first letter, but it shouldent add a space in the box?
Posted By: Wims Re: dialog boxes - 15/06/07 09:52 PM
i'm using this 2 dialog but can't see anything different about the box :

dialog a {
size -1 -1 300 300
option pixels
box "&Testing this",1, 2 2 82 35
edit "" ,2, 4 20 80 10
}

dialog b {
size -1 -1 300 300
option pixels
box "Testing this",1, 2 2 82 35
edit "" ,2, 4 20 80 10
}
Posted By: sparta Re: dialog boxes - 15/06/07 10:05 PM


Look at the first box, it's with the & sign, the one below dosent have the & sign, and look at the frame behind the word 'this', spot it? smile
Code:
alias testing { dialog -m testing testing }
dialog testing {
  size -1 -1 90 100
  option pixels
  box "&Testing this",1, 2 2 82 35
  box "Testing this",2, 2 40 82 35
}

Same result with option dbu
Posted By: SladeKraven Re: dialog boxes - 15/06/07 10:14 PM
Originally Posted By: Wims
i'm using this 2 dialog but can't see anything different


If you're using Windows XP, add the notheme option to the dialog, I noticed a little space after it.
Posted By: Wims Re: dialog boxes - 15/06/07 11:19 PM
You're right
Posted By: sparta Re: dialog boxes - 16/06/07 06:13 AM
WinXP Professional 5.1 Service Pack 2 (Build #2600), and i have Windows Classic style, Color scheme is set to Windows Standard
© mIRC Discussion Forums