Greek letter

Discussion in 'Questions (Windows Mobile)' started by Bobbes, Jul 28, 2008.

  1. Bobbes

    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
     
  2. Erel

    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.
     
  3. Bobbes

    Bobbes Active Member Licensed User

    Hi Erel,
    please try this little Programm.

    Regards Bernd
     
  4. Erel

    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.
     
  5. Bobbes

    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
     
  6. Erel

    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.
     
  7. Bobbes

    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
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice