δΊ 2011/12/26 14:51, Martin Schreiber ει: > On 12/26/2011 01:21 AM, liuzg2 wrote: >> my app use the font name:='stf_roman' charset:='GB2312' >> but when catch error or showmessage() >> it looks not like use my app font. >> > How do you set the font? > > Martin
uses //heaptrc, {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} msegui, main, mseconsts, mseconsts_zh ;//,datamodule,msedatamodules; //{$IFDEF WINDOWS}{$R laz.rc}{$ENDIF} {$R *.res} begin setlangconsts('zh'); main form oncreate font.name:=font_name; font.charset:=font_charset; font.height:=strtoint(fornt_height); font_charset='GB2312'; fornt_height='15'; font_name='Times New Roman'; ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk