当前位置:网站首页>A File Online Query Display and Download Function Realized by Delphi
A File Online Query Display and Download Function Realized by Delphi
2022-08-10 08:11:00 【joman5】
I have always wanted to make an online file retrieval and download function similar to 360. The PC side is also the winform side. Today I have time to simply implement this function. Part of the code:
Create a frame:

Set related parameter information:
procedure TfMain.getdata;varitem: TfrFileItem;i: Integer;begin//Just set the corresponding data structure herecleardata;for i := 0 to 10 dobeginitem := TfrFileItem.Create(self);item.Name := 'item_' + i.ToString;// item.Image1.Picture.LoadFromFile()//Load image informationitem.Title.Caption := 'file name' + i.ToString;item.info.Caption := 'This is used for file information description';item.pnSize.Caption := '20M';item.url := 'http://xxxxxx:8002/ver/testUpdate.zip';item.Parent := pnContent;item.Top := item.Height * (i + 1) + 1;item.Align := alTop;end;end;
边栏推荐
- SQL SERVER 数据库,表的数据发生增删改,该表的索引会在ldf日志中记录吗?
- 进程管理(动态的)
- 941 · 滑动拼图
- Day37 LeetCode
- phpstudy starts automatically
- 【Unity入门计划】2D游戏实现敌人来回移动控制脚本
- 短视频同城流量宣传小魔推有何优势?如何给实体商家带来销量?
- If the data of the oracle business table is added, deleted, or modified, will the index of the table write redo and undo?
- 【转】探秘钉钉的即时消息服务DTIM
- WooCommerce 安装和 rest api 使用
猜你喜欢
随机推荐
The precise effect of network integration promotion outsourcing in the era of Internet of Things-Shenzhen Win-Win World News
什么是长轮询
In the SQL SERVER database, if the data of the table is added, deleted, or modified, will the index of the table be recorded in the ldf log?
VMware ESX Server常用命令行
问下cdc mysql to doris.不显示具体行数,怎么办?
Day37 LeetCode
机器人控制器编程实践指导书旧版-实践一 LED灯(数字量)
VS2013-调试汇编代码-生成asm文件-结构体内存布局-函数参数压栈-调用约定
张驰课堂:老板会武术,谁也挡不住!六西格玛培训的魅力
DGIOT supports industrial equipment rental and remote control
iwemeta metaverse: a doll sells for 9999 yuan, and Bubble Mart thinks it is not expensive at all
颜色选择器的使用
winget package manager
Day36 LeetCode
每日一题,数组字符串的匹配问题
30条实用MySQL优化法则
快速输入当前日期与时间
【MySQL】SQL语句
神经网络的三种训练方法,神经网络训练全过程
一文2600字手把手教你编写性能测试用例








