Greek letter

Bobbes

Active Member
Licensed User
Hi all,
i have probelms with the greek letters, i use the chr-codes. The greek letter is phi (chr(977)) and will show on the Desktop, but not on Device. What is the Prolblem, all the other letters will displyed

Thanks for you Support
 

Erel

Administrator
Staff member
Licensed User
It is probably a font problem.
You can try to copy a font file from the desktop to the device (to \Windows\Fonts) which includes this character and use FormLib.ChangeFont to set this font instead of the regular font.
 

Erel

Administrator
Staff member
Licensed User
See the attached example.
It uses a font named Mathematica1Mono to show the Greek letters.
You need to copy the font to the device: \Windows\Fonts.
This font and many other fonts can be found in the desktop fonts folder: C:\Windows\Fonts.
 

Bobbes

Active Member
Licensed User
Hi Erel,
thank you very much. The Programm is all ready run. But I think it is easier to use CHR-Codes. I need two fonts in a textbox (Example: Textbox1.text = "cos "&CHR(977). In your Version load I the Greek Letters in a Listbox and I use Textbox1.text = "cos "&Listbox1.SelectedIndex = 2. Is that right.

Thanx for your time

Regards Bernd
 

Erel

Administrator
Staff member
Licensed User
You need to find a font that allows you to show both the greek characters and the other characters you need.
You can't combine two fonts in the same control.
 

Bobbes

Active Member
Licensed User
Hi Erel,
Theta (chr(977)) is the only greek letter that doesn´t run. It´s not much important.

Regards Bernd
and thanx for help
 
Top