CnPack Forum


 
Subject: 每日构建版复制当前单元的问题
zhuolong1987
新警察
Rank: 1



UID 104219
Digest Posts 0
Credits 22
Posts 7
点点分 22
Reading Access 10
Registered 2014-8-26
Status Offline
Post at 2022-4-13 08:57  Profile | Blog | P.M. 
每日构建版复制当前单元的问题

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

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

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

复制后:

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 编辑 ]
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6672
Posts 3515
点点分 6672
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2022-4-14 14:37  Profile | Blog | P.M. 
感谢报告,目测是对继承的窗体处理有些问题,我们想想办法。
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6672
Posts 3515
点点分 6672
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2022-4-14 17:18  Profile | Blog | P.M. 
Top
zhuolong1987
新警察
Rank: 1



UID 104219
Digest Posts 0
Credits 22
Posts 7
点点分 22
Reading Access 10
Registered 2014-8-26
Status Offline
Post at 2022-4-18 08:15  Profile | Blog | P.M. 
最近有事没来的及测试,刚测试一下,还是有些问题保存的时候报错误,看下截图吧

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


Image Attachment: [截图] 222.bmp (2022-4-18 08:28, 883.58 K)

Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6672
Posts 3515
点点分 6672
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2022-4-18 09:28  Profile | Blog | P.M. 
感谢报告,事件名的问题我们再查查。
Top
 




All times are GMT++8, the time now is 2022-7-1 08:49

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.009019 second(s), 8 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP