Author Topic: Ampersand in caption  (Read 15972 times)

0 Members and 1 Guest are viewing this topic.

Offline TopDeadCenter

  • Newbie
  • Posts: 2
Ampersand in caption
« on: January 22, 2019, 05:25:04 pm »
Greetings all, I'm new to InForm.  I'm trying to use something like "C&E" in a label caption and the ampersand is not appearing, instead is comes across as a tiny underscore between the C and E.  How can I make this work?  Thanks.

FellippeHeitor

  • Guest
Re: Ampersand in caption
« Reply #1 on: January 22, 2019, 07:08:09 pm »
Hello and welcome to the forum.

Thanks for your interest in InForm and QB64.

To force an ampersand to show, you can manually edit the frm file and change the line from:

SetCaption __UI_NewID, "C&E"

to

Caption(__UI_NewID) = "C&E"

Offline TopDeadCenter

  • Newbie
  • Posts: 2
Re: Ampersand in caption
« Reply #2 on: January 22, 2019, 09:13:29 pm »
That did it.  Thank you.