Board logo

Subject: 每日构建版复制当前单元的问题 [Print This Page]

Author: zhuolong1987    Time: 2022-4-13 08:57     Subject: 每日构建版复制当前单元的问题

我的工程的的窗体都是继承一个基类窗体,复制当前单元文件出现一些属性丢失的情况,例如:&lt;br /&gt;<br />
见附件,功能很方便,望解决....

附件上传不上去,直接代码吧
原窗体文件:

[Copy to clipboard]
CODE:
inherited FrmMzks: TFrmMzks
  Left = 0
  Top = 0
  Caption = #38376#35786#31185#23460
  ClientHeight = 798
  ClientWidth = 1112
  Font.Height = -12
  Font.Name = 'Segoe UI'
  ExplicitWidth = 1112
  ExplicitHeight = 798
  TextHeight = 15
  inherited RzPanel1: TRzPanel
    Width = 1112
    Height = 758
    ExplicitWidth = 1112
    ExplicitHeight = 758
    inherited PaneOption: TRzPanel
      Top = 757
      Width = 1110
      Height = 0
      ExplicitTop = 757
      ExplicitWidth = 1110
      ExplicitHeight = 0
      inherited RzLine1: TRzLine
        Width = 1100
        ExplicitWidth = 1100
      end
    end

复制后:

[Copy to clipboard]
CODE:
object FrmMzks1: TFrmMzks1
  Left = 0
  Top = 0
  BorderStyle = bsNone
  Caption = #38376#35786#31185#23460
  ClientHeight = 798
  ClientWidth = 1112
  Color = clBtnFace
  DoubleBuffered = True
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = 'Segoe UI'
  Font.Style = []
  Icon.Data = {}

[ 本帖最后由 zhuolong1987 于 2022-4-13 09:01 编辑 ]
Author: Passion    Time: 2022-4-14 14:37

感谢报告,目测是对继承的窗体处理有些问题,我们想想办法。
Author: Passion    Time: 2022-4-14 17:18

?烦请下载1083试一试?

http://www.cnpack.org/downbuilds.php?lang=zh-cn
Author: zhuolong1987    Time: 2022-4-18 08:15

最近有事没来的及测试,刚测试一下,还是有些问题保存的时候报错误,看下截图吧

[ 本帖最后由 zhuolong1987 于 2022-4-18 08:28 编辑 ]

Image Attachment: [截图] 222.bmp (2022-4-18 08:28, 883.58 K) / Download count 133
http://bbs.cnpack.org/attachment.php?aid=1150


Author: Passion    Time: 2022-4-18 09:28

感谢报告,事件名的问题我们再查查。




Welcome to CnPack Forum (http://bbs.cnpack.org/) Powered by Discuz! 5.0.0