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

displaying_20unicode_20text_20in_20a_20graphicbox [2018/03/31 13:19]
127.0.0.1 external edit
displaying_20unicode_20text_20in_20a_20graphicbox [2018/04/17 15:50] (current)
tbest3112 Added syntax highlighting
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.txt ยท Last modified: 2018/04/17 15:50 by tbest3112