Jump to content
Sign in to follow this  
Killer

How To Type & In A Text Sentence?

Recommended Posts

Killer

Need help to type in a & to display out on a texbox. The & just wouldn't show. :think:

Share this post


Link to post
Share on other sites
Killer

I might be confused, but:

MsgBox(0,"","&")

should work just fine.

Sorry for he confusion. I am trying to get the & to display in a tab.

$tab1=GUICtrlCreateTabitem ('Art & Music')

Share this post


Link to post
Share on other sites
neogia

I figured it out, "&" directly before another character means to underline that character and make it and Alt hotkey. So, "&Next" for the title of a button will underline the "N" and make it so that if you press Alt+N, it will activate that button. In your case you need to use "&&", and it will display a single "&".

Edited by neogia

[u]My UDFs[/u]Coroutine Multithreading UDF LibraryStringRegExp GuideRandom EncryptorArrayToDisplayString"The Brain, expecting disaster, fails to find the obvious solution." -- neogia

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.