User Tools

Site Tools


displaying_20unicode_20text_20in_20a_20graphicbox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
displaying_20unicode_20text_20in_20a_20graphicbox [2018/03/31 13:19] – external edit 127.0.0.1displaying_20unicode_20text_20in_20a_20graphicbox [2024/01/05 00:22] (current) – external edit 127.0.0.1
Line 2: Line 2:
  
 //by Richard Russell, March 2015//\\ \\  LB Booster provides built-in support to output Unicode text to the mainwin, and to the printer using LPRINT, but not to GUI controls. In the case of controls other than a TEXTEDITOR it is quite easy to support Unicode output using a little API code.\\ \\  Below is listed a program to illustrate displaying Cyrillic text in a GRAPHICBOX (ensure that you select **Unicode Support** in the Options menu):\\ \\  //by Richard Russell, March 2015//\\ \\  LB Booster provides built-in support to output Unicode text to the mainwin, and to the printer using LPRINT, but not to GUI controls. In the case of controls other than a TEXTEDITOR it is quite easy to support Unicode output using a little API code.\\ \\  Below is listed a program to illustrate displaying Cyrillic text in a GRAPHICBOX (ensure that you select **Unicode Support** in the Options menu):\\ \\ 
 +<code lb>
    global CP.UTF8    global CP.UTF8
    CP.UTF8 = hexdec("FDE9")    CP.UTF8 = hexdec("FDE9")
Line 45: Line 46:
      ret as long      ret as long
   end sub   end sub
 +</code>
displaying_20unicode_20text_20in_20a_20graphicbox.1522502357.txt.gz · Last modified: 2024/01/05 00:18 (external edit)