上一页 1 2 3 4 5 6 7 8 9 ··· 58 下一页
  2020年11月14日
摘要: Application.MessageBox是TApplication的成员函数,声明如下:functionTApplication.MessageBox(constText,Caption:PChar;Flags:Longint):Integer;引数:1.Text:要显示的信息2.Caption 阅读全文
posted @ 2020-11-14 10:59 sunylat 阅读(311) 评论(0) 推荐(0) 编辑
  2020年11月10日
摘要: Delphi 2009 可以使用匿名方法了(使用 reference 定义方法类型, 然后在代码中随用随写方法) unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls 阅读全文
posted @ 2020-11-10 17:00 sunylat 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 原文地址:https://blog.csdn.net/yt_maomao/article/details/36631133 //Integer类型刚好是4个字节,ShortInt类型是1个字节,但是Windows中内存是4字节分配,//所以这里其实还是4个字节,用SizeOf可以看到这个record 阅读全文
posted @ 2020-11-10 11:50 sunylat 阅读(1422) 评论(0) 推荐(0) 编辑
  2020年11月9日
摘要: //TStringBuilder.Create 可以无参数 procedure TForm1.Button1Click(Sender: TObject); var sb: TStringBuilder; begin sb := TStringBuilder.Create; sb.Append('Em 阅读全文
posted @ 2020-11-09 18:11 sunylat 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 1.Format 根据指定所需要的格式,格式化字符串。 原型: function Format(const Format: string; const Args: array of const): string; 例子: var s: string; begin //指令类型 type s := F 阅读全文
posted @ 2020-11-09 13:24 sunylat 阅读(304) 评论(0) 推荐(0) 编辑
  2020年11月4日
摘要: 网上看到很多人问delphi中如何调试 DLL 的,众大侠回答也基本一致,但是,我使用时却时灵时不灵,今天发现了原因。 完整的调试 DLL方法如下: 1)新建一个 DLL 工程,名字就叫 MyDll 吧,编译后生成 MyDll.dll,我们要调试的就是它了。 2)新建一个用来调试 MyDll 的 A 阅读全文
posted @ 2020-11-04 20:16 sunylat 阅读(480) 评论(0) 推荐(0) 编辑
摘要: delphi TStringList 用法详解 //TStringList 常用方法与属性 :var List: TStringList; i: Integer;begin List := TStringList.Create; List.Add('Strings1'); {添加} List.Add 阅读全文
posted @ 2020-11-04 15:00 sunylat 阅读(766) 评论(0) 推荐(0) 编辑
  2020年9月18日
摘要: 1,首先在官网下载Linux系统的jdk到本地 Oracle JDK15下载地址:https://www.oracle.com/java/technologies/javase-jdk15-downloads.html 如果下载deb或者rpm包,则下面步骤的2、3、4可以忽略,安装完毕后查找JDK 阅读全文
posted @ 2020-09-18 11:55 sunylat 阅读(591) 评论(0) 推荐(0) 编辑
摘要: VMWear版本:VMware® Workstation 15 Pro Ubuntu版本:20 OSX版本:10.14 CodeTyphon版本:7.20 注意:这里的Ubuntu20是目前最新版Ubuntu了,但是,OSX不是最新版,如果更高版本OSX,可能也会遇到下面问题,可能也需要使用下面的解 阅读全文
posted @ 2020-09-18 00:38 sunylat 阅读(426) 评论(0) 推荐(0) 编辑
  2020年9月17日
摘要: snap软件商店管理搜索和安装软件还是比较方便的,但是我的Ubuntu18里面没有它,所以安装一下!! 安装之前确保已经安装了snap,在控制台中输入命令:snap,如果未安装,则返回信息会有安装命令,按照对应命令安装就可以了!! 安装snap软件商店: sudo snap install snap 阅读全文
posted @ 2020-09-17 14:39 sunylat 阅读(4837) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 58 下一页