How to insert Ohm Symbol into text box

andritjiaandritjia Member Posts: 7
edited 2011-03-23 in NAV Three Tier
Hi All,

is there anyone successfully inserted Ohm symbol into Text Box? I tried with object "ANSI <-> ASCII converter" but it doesn't work. I think it's because when I paste the ohm (Ω) symbol to C/AL Code, it returns 0.

Comments

  • abhinav0408abhinav0408 Member Posts: 35
    Just save your omega symbol in bmp format , then add image button and in bitmap property add the path of your saved picture
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    Just save your omega symbol in bmp format , then add image button and in bitmap property add the path of your saved picture
    And what if he wants the Ohm sign to be a part of for example the Item Description field?
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • andritjiaandritjia Member Posts: 7
    Hi All, Thanks for response.

    Yes, my purpose is for field description. And so I just need to have 1 variable in C/AL Code and call it from SourceExpr in TextBox property.
  • abhinav0408abhinav0408 Member Posts: 35
    And what if he wants the Ohm sign to be a part of for example the Item Description field?

    Keep tryin searching symbol from character map and use its ascii code with the relevant font name , if you want to use your symbol with some other field.
  • andritjiaandritjia Member Posts: 7
    Hi abhinav0408, I tried to map the character from ascii from 0-255 but once it shows, I can not find the ohm symbol.
    according to http://www.asciitable.com, the ascii of ohm is 234 but it returns another symbol in Navision.
  • kinekine Member Posts: 12,562
    All depends on which codepage you are using for Non-unicode applications. If you are using Latin-1, than it should be ok, if you are using different... This character could be different thing in this codepage.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.