mIRC Homepage
Posted By: oliverw92 & in dialog names - 01/04/07 09:17 PM
well i was making a mirc help dialog and i came to making a button with && as the text on it. however i found that it underlines the next letter. is this intentional? if so, why? and if not, can it be fixed?
Posted By: Kardafol Re: & in dialog names - 01/04/07 09:23 PM
This is intentional. I'm not sure how to fix it, however. Try using
"&&&&"
Posted By: qwerty Re: & in dialog names - 01/04/07 09:23 PM
Yes, that's standard Windows controls behaviour. Underlined letters make up the keyboard shortcut for the related action (which for buttons is a click). In a button labelled "Test" for example, hitting the "Alt" key and then "e" has the effect of clicking that button.
Posted By: Spitfire3292 Re: & in dialog names - 02/04/07 01:50 AM
You see oliver? I told you that you wouldn't be made fun of for not knowing. Now you do and aren't you glad you asked it? :P These people are very helpful and go in detail about your question and answer it quickly.

I learned something new as well. Asking here was the next best thing to do since Jaytea was idle at the time.
© mIRC Discussion Forums