Sign in to follow this  
Followers 0
Killer

How To Type & In A Text Sentence?

6 posts in this topic

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



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

#4 ·  Posted (edited)

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

Thanks for the great help! :think:

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  
Followers 0