-
Feb 20th, 2005, 05:07 PM
#1
Thread Starter
Junior Member
Inserting Greek Symbols Into Display Labels
I am working on a resistance calculator for a class, and i need to insert the greek character omega into the final value display, the professor didnt tell us how to and i cant seem to find how to do it anywhere.
thanks for any help
-
Feb 20th, 2005, 08:01 PM
#2
Fanatic Member
Re: Inserting Greek Symbols Into Display Labels
Originally Posted by madwolf32
I am working on a resistance calculator for a class, and i need to insert the greek character omega into the final value display, the professor didnt tell us how to and i cant seem to find how to do it anywhere.
thanks for any help
i dont think you can insert them
-
Feb 20th, 2005, 08:20 PM
#3
Addicted Member
Re: Inserting Greek Symbols Into Display Labels
Try setting Font to "Symbols" then make a Capital W.
Are we alive or just breathing?
-
Feb 20th, 2005, 08:48 PM
#4
Re: Inserting Greek Symbols Into Display Labels
Yes, there are few ways actually:
- use small icon
- use resource file with custom string table for Greek alphabet and label with FontName = "Symbol"
Open attachments to see sample project.
-
Feb 20th, 2005, 09:11 PM
#5
Thread Starter
Junior Member
Re: Inserting Greek Symbols Into Display Labels
Thanks a lot for the help and it works but now ive got another problem, when i want to display the G for giga it is now greek , its the only letter giving me problems
-
Feb 20th, 2005, 09:30 PM
#6
Addicted Member
Re: Inserting Greek Symbols Into Display Labels
Try using multipul labels for Greek and non-Greek letters.
Are we alive or just breathing?
-
Feb 20th, 2005, 09:39 PM
#7
Thread Starter
Junior Member
Re: Inserting Greek Symbols Into Display Labels
the professor wants us to use the same label for both numbers the letters K (kilo) M(mega) and G(giga) as well as the omega character
-
Feb 20th, 2005, 09:51 PM
#8
Re: Inserting Greek Symbols Into Display Labels
VB label control doesn't support multiple alphabets ... so you can tell that to your professor and he doesn't believe you - send him over to us.
-
Feb 20th, 2005, 10:04 PM
#9
Addicted Member
Re: Inserting Greek Symbols Into Display Labels
Try calling up some of your people that are in your class and ask if they did it and can help you and if the didnt do it then have a talk with your professor about it.
Last edited by Piller; Feb 20th, 2005 at 10:11 PM.
Are we alive or just breathing?
-
Feb 20th, 2005, 10:18 PM
#10
Re: Inserting Greek Symbols Into Display Labels
Let's get back to serious for a moment, shall we.
Characters K and M are part of "Symbol" font family so that's not a problem. "Problem" is "G" character which "Symbol" doesn't have. You may try to substitute it with chr(86) but I don't know if that would work:
VB Code:
Private Sub Command1_Click()
With Label1
.AutoSize = True
.FontName = "Symbol"
.FontSize = 16
'K = chr(75)
'M = chr(77)
'looks like G = chr(86)
'Omega = chr(87)
.Caption = Chr(75) & ", " & Chr(77) & ", " & Chr(86) & ", " & Chr(87)
End With
End Sub
Last edited by RhinoBull; Feb 20th, 2005 at 10:28 PM.
-
Feb 21st, 2005, 09:12 AM
#11
Thread Starter
Junior Member
Re: Inserting Greek Symbols Into Display Labels
thanks for the help guys i really appreciate it
-
Feb 21st, 2005, 09:21 AM
#12
Re: Inserting Greek Symbols Into Display Labels
So, did it work for you somehow or not ???
-
Feb 21st, 2005, 09:26 AM
#13
Thread Starter
Junior Member
Re: Inserting Greek Symbols Into Display Labels
what about using the hex code for the letter omega , using a standard font like arial, because omega is in the arial it just doent have a keystroke but it has a unicode hex or ascii hex number
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|