摘要: delphi 数字转换成时间 转换时间 会少于8小时,要加上8小时才会是当前的时间 ttime = 1640659267 //整数时间 tmptime := TUnixTime(ttime); //转换成TUnixTime 类型 newtime := IncHour(UnixTimeToDateTi 阅读全文
posted @ 2021-12-28 10:45 生在努力 阅读(637) 评论(0) 推荐(0) 编辑
摘要: etcd UI 管理e3w 安装 我把自己的配置发上来 docker-compose.yml version: '3'services: etcd: image: soyking/etcd-goreman:3.2.7 ports: - "2379:2379" - "2380:2380" - "223 阅读全文
posted @ 2021-12-27 20:18 生在努力 阅读(531) 评论(0) 推荐(0) 编辑
摘要: unit tcpudpfun; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, StdCtrls, ExtCtrls, StrUtils 阅读全文
posted @ 2021-01-18 15:58 生在努力 阅读(392) 评论(0) 推荐(0) 编辑
摘要: Delphi xe 激活窗口并置顶 只要这一个 就可以 Application.BringToFront; 阅读全文
posted @ 2020-08-18 13:27 生在努力 阅读(451) 评论(1) 推荐(0) 编辑
摘要: Delphi XE10 Task 获取当前线程 需要在当前运行的函数下 TThread.CurrentThread.ThreadID; 阅读全文
posted @ 2020-03-31 13:39 生在努力 阅读(621) 评论(0) 推荐(0) 编辑
摘要: chan 需要两个进程,一个写,一个读,是分开的, package mainimport ( "bufio" "fmt" "math/rand" "os" "strings" "sync" "time")type ( cdnfileinfo struct { filename string buf 阅读全文
posted @ 2019-12-11 21:10 生在努力 阅读(1022) 评论(0) 推荐(0) 编辑
摘要: delphi 返回所有URL USER MSHTMLprocedure TfrmWebEmail.btn5Click(Sender: TObject);var Doc: IHTMLDocument2; Len: Integer; item: OleVariant; all: IHTMLElement 阅读全文
posted @ 2019-11-21 13:41 生在努力 阅读(166) 评论(0) 推荐(0) 编辑
摘要: FMX 窗口置顶 或置底 xe10 Popup 置底 StayOnTop 置顶 阅读全文
posted @ 2019-09-23 18:04 生在努力 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 找了好多信息,测试好些,xe10 隐藏只要以下命令 隐藏 ShowWindow(ApplicationHWND, SW_HIDE); 显示 ShowWindow(ApplicationHWND, SW_SHOW); 阅读全文
posted @ 2019-09-21 23:19 生在努力 阅读(252) 评论(0) 推荐(0) 编辑
摘要: delphi xe6 窗口 visible 不能隐藏 解决 在工程代码里面加上 Application.ShowMainForm := false; 阅读全文
posted @ 2019-09-18 18:41 生在努力 阅读(299) 评论(0) 推荐(0) 编辑