CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
可用分押宝游戏火热进行中... 专题改版:Java Web 专题
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  Delphi >  VCL组件开发及应用

delphi中的几个简单问题

楼主etomahawk(一意孤行)2003-08-03 08:55:07 在 Delphi / VCL组件开发及应用 提问

1。delphi中的链表怎么实现呢?(最好给一个例子)  
  2。delphi中的文件操作?  
  3。那一个组件中既可以显示图形,又可以显示字符,而且字符的颜色,字体可以不一样? 问题点数:40、回复次数:3Top

1 楼DWGZ()回复于 2003-08-05 10:08:10 得分 30

1.record   就相当于   C++   中的Struct  
  2.  
  AssignFile   procedure  
   
  Associates   the   name   of   an   external   file   with   a   file   variable.  
   
  ChDir   procedure  
   
  Changes   the   current   directory.  
   
  CloseFile   procedure  
   
  Terminates   the   association   between   file   variable   and   an   external   disk   file   (Delphi).  
   
  CreateDir   function  
   
  Creates   a   new   directory.  
   
  DeleteFile   function  
   
  Deletes   a   file   from   disk.  
   
  DirectoryExists   function  
   
  Determines   whether   a   specified   directory   exists.  
   
  DiskFree   function  
   
  Returns   the   number   of   free   bytes   on   a   specified   drive.  
   
  DiskSize   function  
   
  Returns   the   size,   in   bytes,   of   a   specified   drive.  
   
  File   mode   constants  
   
  File   mode   constants   are   used   to   open   and   close   disk   files.  
   
  File   open   mode   constants  
   
  File   open   mode   constants   are   used   to   control   the   access   mode   to   a   file   or   stream.  
   
  FileClose   procedure  
   
  Closes   a   specified   file.  
   
  FileDateToDateTime   function  
   
  Converts   a   DOS   date-time   value   to   TDateTime   value.  
   
  FileExists   function  
   
  Tests   if   a   specified   file   exists.  
   
  FileGetAttr   function  
   
  Returns   the   file   attributes   of   FileName.  
   
  FileGetDate   function  
   
  Returns   a   DOS   date-time   stamp   for   a   specified   file.  
   
  FileOpen   function  
   
  Opens   a   specified   file   using   a   specified   access   mode.  
   
  FileRead   function  
   
  Reads   a   specified   number   of   bytes   from   a   file.  
   
  FileSearch   function  
   
  Searches   a   specified   DOS   path   for   a   file.  
   
  FileSeek   function  
   
  Positions   the   current   file   pointer   in   a   previously   opened   file.  
   
  FileSetAttr   function  
   
  Sets   the   file   attributes   of   a   specified   file.  
   
  FileSetDate   function  
   
  Sets   the   DOS   time   stamp   for   a   specified   file.  
   
  FileWrite   function  
   
  Writes   the   contents   of   a   buffer   to   the   current   position   in   a   file.  
   
  FindClose   procedure  
   
  Releases   memory   allocated   by   FindFirst.  
   
  FindFirst   function  
   
  Searches   for   the   first   instance   of   a   file   name   with   a   given   set   of   attributes   in   a   specified   directory.  
   
  FindNext   function  
   
  Returns   the   next   entry   matching   the   name   and   attributes   specified   in   a   previous   call   to   FindFirst.  
   
  ForceDirectories   function  
   
  Creates   all   the   directories   along   a   directory   path   if   they   do   not   already   exist.  
   
  GetCurrentDir   function  
   
  Returns   the   name   of   the   current   directory.  
   
  GetDir   procedure  
   
  Returns   the   current   directory   for   a   specified   drive.  
   
  RemoveDir   function  
   
  Deletes   an   existing   empty   directory.  
   
  RenameFile   function  
   
  Changes   a   file   name.  
   
  SetCurrentDir   function  
   
  Sets   the   current   directory.  
   
  3.   BitBtn   or   SpeedButton  
  Top

2 楼Little2000(rainy)回复于 2003-08-05 10:23:25 得分 10

BitBtn   或   SpeedButtonTop

3 楼etomahawk(一意孤行)回复于 2003-08-06 10:22:46 得分 0

能不能给一个链表的例子啊!  
  第三个问题我问的是:那个组件可以实现文字与图形一起显示,就像QQ一样!可以发送一些表情图形!  
   
  Top

相关问题

  • 初学delphi没几天。问一个简单问题!
  • 初学DELPHI,几个简单问题请教
  • 问几个简单的问题,只要你会Delphi就会答
  • Delphi几个简单问题,数组初始化?
  • 一个简单的Delphi问题
  • 问个delphi的简单的问题
  • 一个delphi的简单问题
  • delphi 中的一个简单的问题!!
  • 刚学Delphi,问一个简单问题。
  • 求一个delphi简单的程序

关键词

  • delphi
  • 图形
  • specified
  • mode
  • disk
  • 显示
  • directory
  • open

得分解答快速导航

  • 帖主:etomahawk
  • DWGZ
  • Little2000

相关链接

  • Delphi类图书
  • Delphi类源码下载
  • Delphi控件下载

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
世纪乐知(北京)网络技术有限公司 版权所有, 京 ICP 证 020026 号
北京创新乐知广告有限公司 提供技术支持
Copyright © 2000-2007, CSDN.NET, All Rights Reserved
GongshangLogo