> Effectively, dual-byte encodind is allright to support Vietnamese and
> Western languages. But how did I get the phonetics characters? With
> shortcut key ?
> As I need the user to change the cursor name run-time without using
> the frontpannel cursor legend, I'm using property node and a subVI
> asking for this name. (The user will enter the name in a string
> control).
> Moreover I would like the user to have the possibility to choose a
> character in a pannel (something similar to the menu 'insert symbol'
> in MS Word). Is it possible to do this ? With Active X maybe, but I
> don't know which activeX objet I can use....(I am not very familiar
> with ActiveX).
Unfortunately, I don't know what the phonetic characters look like, so I
can't
tell you what to type to enter them. If you find them in Word,
you should be able to copy them to the clipboard, they will be in
Unicode, and paste them into LV -- where they will be converted to dual
byte. If it doesn't work, try to find out if they are exist in the
locale of your machine, or more importantly, the target machine.
If you can display them, you can build a simple ring with short strings
containing the phonetic characters. When the user picks something from
the ring, use the strings property and value to index out the string and
replace/append to the string the user is editing. You will want to pay
attention to the string's selection if this is supposed to act like a
character palette and either do an insert or replace.
If you want a more compact grid menu, you will need to convert the
strings to images and paste them in a pict menu. That value can be used
to index a constant array that matches the order in the pict ring.
Greg McKaskle