问下,关于QuickReport的问题
为什么qrshape我没法加粗啊,预览时有加粗,可打出来却有呢??
还有预览时有错位,打出来却没有???
还有某一日期字段,在打印的时候以年月日格式打出, 如:2004年7月9日
快救我啊

解决方案 »

  1.   

    qrshape的属性没设置好!   你在试以下  有线宽属性的错位是因为你的字体不标准  试试吧!
      

  2.   

    >>还有预览时有错位,打出来却没有???
    有時會這樣, 一切以打印為準, 可能是屏幕分辯率與打印不同造成!>>还有某一日期字段,在打印的时候以年月日格式打出,
    在beforeprint 事件中自己格式化, 用 FormatDate
      

  3.   

    >>还有某一日期字段,在打印的时候以年月日格式打出
    或者在你本身的 數據控件中對應的字段的 OnGetText 之類處理也好
      

  4.   

    各位大哥,那个formatDate怎么个写法啊,我还没用过啊
    那个线宽,我有调过了,可是打出来却没有,我不知道哪个属性没设对啊
      

  5.   

    给你看两段代码,或许有用var
      DateFormat: TFormatSettings;
    begin
      GetLocaleFormatSettings(LANG_FRENCH, DateFormat);
      ShowMessage(FormatDateTime('dddd, mmmm d, yyyy', Now, DateFormat));
    end; {format and add appropriate datetime string}
      if FileExists(LogFile) then 
        DTFormatStr := 'hh:mm:ss'    // ... or what you want
      else
        DTFormatStr := 'dd/mm/yy hh:mm:ss';   // ... or what you want
      InfoStr := FormatDateTime(DTFormatStr, Now);