PDA

View Full Version : Solved: Superscript in Form buttons



peacenik
07-19-2006, 03:05 AM
I am trying to create a form with buttons that include one character of superscript (as in 2xsquared) but it just comes out as 2x2. Does anyone have any ideas about how I can make it come out the right way.:dunno

ilyaskazi
07-19-2006, 05:58 AM
you can try using special symbol fonts, in which you may get for what you are looking.

Killian
07-19-2006, 06:14 AM
AFAIK, superscript 1, 2 and 3 are part of the standard character set. You can use the Initialze event of the form to define the characters you can't add at design time.CommandButton1.Caption = "2" & Chr(178)

peacenik
07-24-2006, 04:40 PM
AFAIK, superscript 1, 2 and 3 are part of the standard character set. You can use the Initialze event of the form to define the characters you can't add at design time.CommandButton1.Caption = "2" & Chr(178)

Thanks, that worked perfectly.