Jump to content
Sign in to follow this  
bdaven

Ampersand in GUICtrlCreateRadio text parameter

Recommended Posts

bdaven

Just learning so patience please...

I am trying to create a radio button with text of "Paint & Cleaning". I am stumped on the ampersand. I have searched through the forums for an hour trying to figure this out. Here is what I have tried:

$paint = GUICtrlCreateRadio ("Paint & Cleaning", 10, 10, 150, 20)

I have tried using chr(38), creating a string variable with the text. I always get the underscore character. I'm sure this is simple. Please help.

Thanks

Bob

Share this post


Link to post
Share on other sites
Swift

Congrats On your First Post!

Well it doesnt work with 1 'and' sign...so put 2 and it works :)!!

Enjoy!

$Radio1 = GUICtrlCreateRadio("Paint && Cleaning", 56, 32, 129, 25)
Edited by Swift

Share this post


Link to post
Share on other sites
bdaven

Thanks for the quick answer! Glad I asked. :) Now I can get on with more interesting stuff...

Bob

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  

×