delphi - 如何将设计时和运行时打包正确的 Delphi 方式与实际源代码分开?
问题描述
我认为我一直在以错误的方式开发 Delphi。
似乎有很多关于如何的信息,但有限的源代码。我在 Google 和 Stack Overflow 中查看的文档似乎只是解释,几乎没有显示多少源代码。我希望看到一个实际项目,其中开发人员将两者拆分为两个不同的源代码文件。
有没有什么地方可以找到一个实际的项目来拆分这些文件和节目并且它们可以一起工作?
这是在设计时代码中吗?
property BreakString: String read FBreakString write SetBreakString stored gtBreakStringIsStored;
property StoppingCount: integer read FStoppingCount write FStoppingCount default -1;
property AutoSaveBeforeOnProcessEnd: Boolean read FAutoSaveBeforeOnProcessEnd write FAutoSaveBeforeOnProcessEnd;
property AutoSaveAsYouModifyData: Boolean read FAutoSaveAsYouModifyData write FAutoSaveAsYouModifyData;
如果上面是设计时代码,那么你如何在运行时代码中使用它?
解决方案
推荐阅读
- react-native - 水平 FlatList 中项目底部的框阴影
- html - 图像大小在 Chrome 和 IE 11 中有所不同
- angular - 如何使用 Angular 6 在单击提交时制作一个仅接受 .json 类型文件的按钮?
- java - Android AAR lib - 资源链接失败
- jenkins - Jenkins 插件 repo 作为代理 repo,当在公司代理后面时
- php - 只想从数据库中的时间戳中保存年份
- spring-boot - Redis 异常:无法确定要读取的节点
- database - 如何将 oracle 转储文件上传到 oracle 数据库:AWS RDS
- ruby-on-rails - 如何在 Rails 5 项目中安装 Devise?
- javascript - json解析并获取成绩内的对象