请问Windows Api中用于执行可执行文件的函数是哪些及他们的大致用法?(100分)

  • 主题发起人 主题发起人 淡淡99
  • 开始时间 开始时间

淡淡99

Unregistered / Unconfirmed
GUEST, unregistred user!
朋友们好:<br>&nbsp; &nbsp; 请问Windows Api中用于执行可执行文件的函数是哪些及他们的大致用法?<br><br><br>&nbsp; &nbsp; 谢谢!
 
在windows单无中,查找,exe,就可以找出来了。
 
WinExec("c:/windows/notepad.exe", SW_Show)<br>ShellExecute(Handle, 'Open', PChar('notepad.exe'), PChar('c:/readme.txt'), nil, SW_SHOWNORMAL);<br>是两个执行写字板的API示例,你看下就明白了。<br>&nbsp;<br>&nbsp;<br>
 
其他的,可以参考这个。我帮你转贴的。<br><br><br>Copyright by vortex 1999.1 <br>=============================================================================================== <br>名称 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;类型 &nbsp; &nbsp; &nbsp; &nbsp; 说明 <br>---------------------------------------------------------------------------------- <br>Abort &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 引起放弃的意外处理 &nbsp;<br>Abs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 绝对值函数 &nbsp;<br>AddExitProc &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将一过程添加到运行时库的结束过程表中 &nbsp;<br>Addr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回指定对象的地址 &nbsp;<br>AdjustLineBreaks &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将给定字符串的行分隔符调整为CR/LF序列 &nbsp;<br>Align &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 使控件位于窗口某部分 &nbsp;<br>Alignment &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 控件标签的文字位置 &nbsp;<br>AllocMem &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 在堆栈上分配给定大小的块 &nbsp;<br>AllowGrayed &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 允许一个灰度选择 &nbsp;<br>AnsiCompareStr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 比较字符串(区分大小写) &nbsp;<br>AnsiCompareText &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 比较字符串(不区分大小写) &nbsp;<br>AnsiLowerCase &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将字符转换为小写 &nbsp;<br>AnsiUpperCase &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将字符转换为大写 &nbsp;<br>Append &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 以附加的方式打开已有的文件 &nbsp;<br>ArcTan &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 余切函数 &nbsp;<br>AssignFile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 给文件变量赋一外部文件名 &nbsp;<br>Assigned &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 测试函数或过程变量是否为空 &nbsp;<br>AutoSize &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 自动控制标签的大小 &nbsp;<br>BackgroundColor &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 背景色 &nbsp;<br>BeginThread &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 以适当的方式建立用于内存管理的线程 &nbsp;<br>BevelInner &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 控件方框的内框方式 &nbsp;<br>BevelOuter &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 控件方框的外框方式 &nbsp;<br>BevelWidth &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 控件方框的外框宽度 &nbsp;<br>BlockRead &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 读一个或多个记录到变量中 &nbsp;<br>BlockWrite &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 从变量中写一个或多个记录 &nbsp;<br>BorderStyle &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 边界类型 &nbsp;<br>BorderWidth &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 边界宽度 &nbsp;<br>Break &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 命令 &nbsp; &nbsp; &nbsp; &nbsp; 终止for、while、repeat循环语句 &nbsp;<br>Brush &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 画刷 &nbsp;<br>Caption &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 标签文字的内容 &nbsp;<br>ChangeFileExt &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 改变文件的后缀 &nbsp;<br>ChDir &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 改变当前目录 &nbsp;<br>Checked &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 确定复选框选中状态 &nbsp;<br>Chr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回指定序数的字符 &nbsp;<br>CloseFile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 命令 &nbsp; &nbsp; &nbsp; &nbsp; 关闭打开的文件 &nbsp;<br>Color &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 标签的颜色 &nbsp;<br>Columns &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 显示的列数 &nbsp;<br>CompareStr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 比较字符串(区分大小写) &nbsp;<br>Concat &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 合并字符串 &nbsp;<br>Continue &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;命令 &nbsp; &nbsp; &nbsp; &nbsp; 继续for、while、repeat的下一个循环 &nbsp;<br>Copy &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回一字符串的子串 &nbsp;<br>Cos &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 余弦函数 &nbsp;<br>Ctl3D &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 是否具有3D效果 &nbsp;<br>Cursor &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 鼠标指针移入后的形状 &nbsp;<br>Date &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回当前的日期 &nbsp;<br>DateTimeToFileDate &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将DELPHI的日期格式转换为DOS的日期格式 &nbsp;<br>DateTimeToStr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将日期时间格式转换为字符串 &nbsp;<br>DateTimeToString &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将日期时间格式转换为字符串 &nbsp;<br>DateToStr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将日期格式转换为字符串 &nbsp;<br>DayOfWeek &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回星期的数值 &nbsp;<br>Dec &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 递减变量值 &nbsp;<br>DecodeDate &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将日期格式分解为年月日 &nbsp;<br>DecodeTime &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将时间格式分解为时、分、秒、毫秒 &nbsp;<br>Delete &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 从字符串中删除子串 &nbsp;<br>DeleteFile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;命令 &nbsp; &nbsp; &nbsp; &nbsp; 删除文件 &nbsp;<br>DiskFree &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回剩余磁盘空间的大小 &nbsp;<br>DiskSize &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回指定磁盘的容量 &nbsp;<br>Dispose &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 释放动态变量所占的空间 &nbsp;<br>DisposeStr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 释放字符串在堆栈中的内存空间 &nbsp;<br>DitherBackground &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 使背景色的色彩加重或减少50% &nbsp;<br>DragCursor &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 当鼠标按下时光标的形状 &nbsp;<br>DragMode &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 按动的作用方式 &nbsp;<br>DropDownCount &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 容许的显示数据项的数目 &nbsp;<br>EditMask &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 编辑模式 &nbsp;<br>Enabled &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 是否使标签呈现打开状态 &nbsp;<br>EncodeDate &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将年月日合成为日期格式 &nbsp;<br>EncodeTime &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将时、分、秒、毫秒合成为时间格式 &nbsp;<br>EndMargin &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 末尾边缘 &nbsp;<br>Eof &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 对有类型或无类型文件测试是否到文件尾 &nbsp;<br>Eoln &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回文本文件的行结束状态 &nbsp;<br>Erase &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 命令 &nbsp; &nbsp; &nbsp; &nbsp; 删除外部文件 &nbsp;<br>ExceptAddr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回引起当前意外的地址 &nbsp;<br>Exclude &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 从集合中删除一些元素 &nbsp;<br>ExceptObject &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回当前意外的索引 &nbsp;<br>Exit &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;命令 &nbsp; &nbsp; &nbsp; &nbsp; 立即从当前的语句块中退出 &nbsp;<br>Exp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 指数函数 &nbsp;<br>ExpandFileName &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回包含绝对路径的字符串 &nbsp;<br>ExtendedSelect &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 是否允许存在选择模式,True时,MultiSelect才有意义 &nbsp;<br>ExtractFileDir &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回驱动器和路径 &nbsp;<br>ExtractFileExt &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回文件的后缀 &nbsp;<br>ExtractFileName &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回文件名 &nbsp;<br>ExtractFilePath &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回指定文件的路径 &nbsp;<br>FileAge &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回文件已存在的时间 &nbsp;<br>FileClose &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 命令 &nbsp; &nbsp; &nbsp; &nbsp; 关闭指定的文件 &nbsp;<br>FileCreate &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;命令 &nbsp; &nbsp; &nbsp; &nbsp; 用指定的文件名建立新文件 &nbsp;<br>FileDateToDateTime &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将DOS的日期格式转换为DELPHI的日期格式 &nbsp;<br>FileExists &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 检查文件是否存在 &nbsp;<br>FileGatAttr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回文件的属性 &nbsp;<br>FileGetDate &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回文件的DOS日期时间标记 &nbsp;<br>FileOpen &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;命令 &nbsp; &nbsp; &nbsp; &nbsp; 用指定的存取模式打开指定的文件 &nbsp;<br>FilePos &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回文件的当前指针位置 &nbsp;<br>FileRead &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;命令 &nbsp; &nbsp; &nbsp; &nbsp; 从指定的文件读取 &nbsp;<br>FileSearch &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;命令 &nbsp; &nbsp; &nbsp; &nbsp; 在目录中搜索指定的文件 &nbsp;<br>FileSeek &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 改变文件的指针 &nbsp;<br>FileSetAttr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 设置文件属性 &nbsp;<br>FileSetDate &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 设置文件的DOS日期时间标记 &nbsp;<br>FileSize &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回当前文件的大小 &nbsp;<br>FileWrite &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 对指定的文件做写操作 &nbsp;<br>FillChar &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 用指定的值填充连续字节的数 &nbsp;<br>FindClose &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 命令 &nbsp; &nbsp; &nbsp; &nbsp; 终止FindFirst/FindNext序列 &nbsp;<br>FindFirst &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 命令 &nbsp; &nbsp; &nbsp; &nbsp; 对指定的文件名及属性搜索目录 &nbsp;<br>FindNext &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;命令 &nbsp; &nbsp; &nbsp; &nbsp; 返回与文件名及属性匹配的下一入口 &nbsp;<br>FloatToDecimal &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将浮点数转换为十进制数 &nbsp;<br>FloatToStrF &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将浮点数转换为字符串 &nbsp;<br>FloatToStr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将浮点数转换为字符串 &nbsp;<br>FloatToText &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将给定的浮点数转换为十进制数 &nbsp;<br>FloatToTextFmt &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将给定的浮点数转换为十进制数 &nbsp;<br>Flush &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将缓冲区的内容刷新到输出的文本文件中 &nbsp;<br>FmtLoadStr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 从程序的资源字符串表中装载字符串 &nbsp;<br>FmtStr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 格式化一系列的参数,其结果以参数Result返回 &nbsp;<br>Font &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 设置字体 &nbsp;<br>Format &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 格式化一系列的参数并返回Pascal字符串 &nbsp;<br>FormatBuf &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 格式化一系列的参数 &nbsp;<br>FormatDateTime &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 用指定的格式来格式化日期和时间 &nbsp;<br>FormatFloat &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 指定浮点数格式 &nbsp;<br>Frac &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回参数的小数部分 &nbsp;<br>FreeMem &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 按给定大小释放动态变量所占的空间 &nbsp;<br>GetDir &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 返回指定驱动器的当前目录 &nbsp;<br>GetHeapStatus &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;返回内存管理器的当前状态 &nbsp;<br>GetMem &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 建立一指定大小的动态变量,并将指针指向该处 &nbsp;<br>GetMemoryManager &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 返回内存管理器的入口点 &nbsp;<br>Glyph &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 按钮上的图象 &nbsp;<br>Halt &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 停止程序的执行并返回到操作系统 &nbsp;<br>Hi &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 返回参数的高地址位 &nbsp;<br>High &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 返回参数的上限值 &nbsp;<br>Hint &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 提示信息 &nbsp;<br>Int &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;返回参数的整数部分 &nbsp;<br>Include &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;添加元素到集合中 &nbsp;<br>Insert &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 在字符串中插入子串 &nbsp;<br>IntToHex &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 将整型数转换为十六进制数 &nbsp;<br>IntToStr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 将整型数转换为字符串 &nbsp;<br>IOResult &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 返回最新的I/O操作完成状态 &nbsp;<br>IsValidIdent &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 测试字符串是否为有效的标识符 &nbsp;<br>Items &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 默认显示的节点 &nbsp;<br>Kind &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 摆放样式 <br>LargeChange &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 最大改变值 &nbsp;<br>Layout &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 图象布局 &nbsp;<br>Length &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回字符串的动态长度 &nbsp;<br>Lines &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 缺省显示内容 &nbsp;<br>Ln &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 自然对数函数 &nbsp;<br>Lo &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回参数的低地址位 &nbsp;<br>LoadStr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 从应用程序的可执行文件中装载字符资源 &nbsp;<br>LowerCase &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将给定的字符串变为小写 &nbsp;<br>Low &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回参数的下限值 &nbsp;<br>Max &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 最大值 &nbsp;<br>MaxLength &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 最大长度 &nbsp;<br>Min &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 最小值 &nbsp;<br>MkDir &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 命令 &nbsp; &nbsp; &nbsp; &nbsp; 建立一子目录 &nbsp;<br>Move &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 从源到目标复制字节 &nbsp;<br>MultiSelect &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 允许同时选择几个数据项 &nbsp;<br>Name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 控件的名字 &nbsp;<br>New &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 建立新的动态变量并设置一指针变量指向他 &nbsp;<br>NewStr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 在堆栈上分配新的字符串 &nbsp;<br>Now &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回当前的日期和时间 &nbsp;<br>Odd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;测试参数是否为奇数 &nbsp;<br>OnActivate &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;事件 &nbsp; &nbsp; &nbsp; &nbsp; 焦点移到窗体上时触发 &nbsp;<br>OnClick &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 事件 &nbsp; &nbsp; &nbsp; &nbsp; 单击窗体空白区域触发 &nbsp;<br>OnDblClick &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;事件 &nbsp; &nbsp; &nbsp; &nbsp; 双击窗体空白区域触发 &nbsp;<br>OnCloseQuery &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;事件 &nbsp; &nbsp; &nbsp; &nbsp; 使用者试图关闭窗体触发 &nbsp;<br>OnClose &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 事件 &nbsp; &nbsp; &nbsp; &nbsp; 窗体关闭后才触发 &nbsp;<br>OnCreate &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;事件 &nbsp; &nbsp; &nbsp; &nbsp; 窗体第一次创建时触发 &nbsp;<br>OnDeactivate &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;事件 &nbsp; &nbsp; &nbsp; &nbsp; 用户切换到另一应用程序触发 &nbsp;<br>OnDragDrop &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;事件 &nbsp; &nbsp; &nbsp; &nbsp; 鼠标拖放操作结束时触发 &nbsp;<br>OnDragOver &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;事件 &nbsp; &nbsp; &nbsp; &nbsp; 有其他控件从他上面移过触发 &nbsp;<br>OnMouseDown &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 事件 &nbsp; &nbsp; &nbsp; &nbsp; 按下鼠标键时触发 &nbsp;<br>OnMouseUp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 事件 &nbsp; &nbsp; &nbsp; &nbsp; 释放鼠标键时触发 &nbsp;<br>OnMouseMove &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 事件 &nbsp; &nbsp; &nbsp; &nbsp; 移动鼠标时触发 &nbsp;<br>OnHide &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;事件 &nbsp; &nbsp; &nbsp; &nbsp; 隐藏窗体时触发 &nbsp;<br>OnKeyDown &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 事件 &nbsp; &nbsp; &nbsp; &nbsp; 按下键盘某键时触发 &nbsp;<br>OnKeyPress &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;事件 &nbsp; &nbsp; &nbsp; &nbsp; 按下键盘上的单个字符键时触发 &nbsp;<br>OnKeyUp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 事件 &nbsp; &nbsp; &nbsp; &nbsp; 释放键盘上的某键时触发 &nbsp;<br>OnPaint &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 事件 &nbsp; &nbsp; &nbsp; &nbsp; 窗体上有新部分暴露出来触发 &nbsp;<br>OnResize &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;事件 &nbsp; &nbsp; &nbsp; &nbsp; 重新调整窗体大小触发 &nbsp;<br>OnShow &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;事件 &nbsp; &nbsp; &nbsp; &nbsp; 在窗体实际显示之前瞬间触发 &nbsp;<br>Ord &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;返回序数类的序数 &nbsp;<br>OutlineStyle &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 类型 &nbsp;<br>OutOfMemoryError &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 引起OutOfMemory意外 &nbsp;<br>PageIndex &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 页索引 &nbsp;<br>Pages &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 页 &nbsp;<br>ParamCount &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回在命令行上传递给程序的参数数量 &nbsp;<br>ParamStr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回指定的命令行参数 &nbsp;<br>Pen &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 画刷设置 &nbsp;<br>Pi &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回圆周率Pi &nbsp;<br>Picture &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 显示图象 &nbsp;<br>PictureClosed &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 设置Closed位图 &nbsp;<br>PictureLeaf &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 设置Leaf位图 &nbsp;<br>PictureMinus &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 设置Minus位图 &nbsp;<br>PictureOpen &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 设置Open位图 &nbsp;<br>PicturePlus &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 设置Plus位图 &nbsp;<br>Pos &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 在字符串中搜索子串 &nbsp;<br>Pred &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回先前的参数 &nbsp;<br>Random &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回一随机函数 &nbsp;<br>Randomize &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 用一随机数初始化内置的随机数生成器 &nbsp;<br>Read &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 对有格式的文件,读一文件组件到变量中; <br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;对文本文件,读一个或多个值到一个或多个变量中 &nbsp;<br>Readln &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 执行Read过程,然后跳到文件下一行 &nbsp;<br>ReadOnly &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 只读属性 &nbsp;<br>ReAllocMem &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 分配一动态变量 &nbsp;<br>Rename &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 重命名外部文件 &nbsp;<br>RenameFile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 对文件重命名 &nbsp;<br>Reset &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 打开已有的文件 &nbsp;<br>Rewrite &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 建立并打开一新的文件 &nbsp;<br>RmDir &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 删除空的子目录 &nbsp;<br>Round &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将实数值舍入为整型值 &nbsp;<br>RunError &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 停止程序的执行 &nbsp;<br>ScrollBars &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 滚动条状态 &nbsp;<br>Seek &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将文件的当前指针移动到指定的组件上 &nbsp;<br>SeekEof &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回文件的文件结束状态 &nbsp;<br>SeekEoln &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回文件的行结束状态 &nbsp;<br>SelectedColor &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 选中颜色 &nbsp;<br>SetMemoryManager &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 设置内存管理器的入口点 &nbsp;<br>SetTextBuf &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 给文本文件指定I/O缓冲区 &nbsp;<br>Shape &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 显示的形状 &nbsp;<br>ShowException &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 显示意外消息与地址 &nbsp;<br>Sin &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 正弦函数 &nbsp;<br>SizeOf &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回参数所占的字节数 &nbsp;<br>SmallChange &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 最小改变值 &nbsp;<br>Sorted &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 是否允许排序 &nbsp;<br>Sqr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 平方函数 &nbsp;<br>Sqrt &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 平方根函数 &nbsp;<br>StartMargin &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 开始边缘 &nbsp;<br>State &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 控件当前状态 &nbsp;<br>Str &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将数值转换为字符串 <br>StrAlloc &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 给以NULL结束的字符串分配最大长度-1的缓冲区 &nbsp;<br>StrBufSize &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回存储在由StrAlloc分配的字符缓冲区的最大字符数 &nbsp;<br>StrCat &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将一字符串附加到另一字符串尾并返回合并的字符串 &nbsp;<br>StrComp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 比较两个字符串 &nbsp;<br>StrCopy &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将一个字符串复制到另一个字符串中 &nbsp;<br>StrDispose &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 释放堆栈上的字符串 &nbsp;<br>StrECopy &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将一字符串复制到另一个字符串并返回结果字符串尾部的指针 &nbsp;<br>StrEnd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回指向字符串尾部的指针 &nbsp;<br>Stretch &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 自动适应控件的大小 &nbsp;<br>StrFmt &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 格式化一系列的参数 &nbsp;<br>StrIComp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 比较两个字符串(不区分大小写) &nbsp;<br>StringToWideChar &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将ANSI字符串转换为UNICODE字符串 &nbsp;<br>StrLCat &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将一字符串中的字符附加到另一字符串尾并返回合并的字符串 &nbsp;<br>StrLComp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 以最大长度比较两个字符串 &nbsp;<br>StrLCopy &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将一个字符串中的字符复制到另一个字符串中 &nbsp;<br>StrLen &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回字符串中的字符数 &nbsp;<br>StrLFmt &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 格式化一系列的参数,其结果中包含有指向目标缓冲区的指针 &nbsp;<br>StrLIComp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 以最大长度比较两个字符串(不区分大小写) &nbsp;<br>StrLower &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将字符串中的字符转换为小写 &nbsp;<br>StrMove &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将一个字符串中的字符复制到另一个字符串中 &nbsp;<br>StrNew &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 在堆栈上分配一个字符串 &nbsp;<br>StrPas &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将以NULL结束的字符串转换为PASCAL类的字符串 &nbsp;<br>StrPCopy &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将PASCAL类的字符串复制为以NULL结束的字符串 &nbsp;<br>StrPLCopy &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 从PASCAL类的最大长度字符串复制为以NULL结束的字符串 &nbsp;<br>StrPos &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回一个字符串在另一个字符串中首次出现指针 &nbsp;<br>StrRScan &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回字符串中最后出现字符的指针 &nbsp;<br>StrScan &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回字符串中出现首字符的指针 &nbsp;<br>StrToDate &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将字符串转换为日期格式 &nbsp;<br>StrToDateTime &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将字符串转换为日期/时间格式 &nbsp;<br>StrToFloat &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将给定的字符串转换为浮点数 &nbsp;<br>StrToInt &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将字符串转换为整型 &nbsp;<br>StrToIntDef &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将字符串转换为整型或默认值 &nbsp;<br>StrToTime &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将字符串转换为时间格式 &nbsp;<br>StrUpper &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将字符串中的字符转换为大写 &nbsp;<br>Style &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 类型选择 &nbsp;<br>Suce &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回后继的参数 &nbsp;<br>Swap &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 交换参数的高低地址位 &nbsp;<br>Tabs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 标记每一项的内容 &nbsp;<br>TabIndex &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 标记索引 &nbsp;<br>Text &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;属性 &nbsp; &nbsp; &nbsp; &nbsp; 显示的文本 &nbsp;<br>TextToFloat &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将字符串(以NULL结束的格式)转换为浮点数 &nbsp;<br>Time &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回当前的时间 &nbsp;<br>TimeToStr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将时间格式转换为字符串 &nbsp;<br>Trim &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 从给定的字符串中删除前导和尾部的空格及控制字符 &nbsp;<br>TrimLeft &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 从给定的字符串中删除首部的空格及控制字符 &nbsp;<br>TrimRight &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 从给定的字符串中删除尾部的空格及控制字符 &nbsp;<br>Trunc &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将实型值截取为整型值 &nbsp;<br>Truncate &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 截去当前文件位置后的内容 &nbsp;<br>UnSelectedColor &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 未选中颜色 &nbsp;<br>UpCase &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 将字符转换为大写 &nbsp;<br>UpperCase &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;将给定的字符串变为大写 &nbsp;<br>Val &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将字符串转换为整型值 &nbsp;<br>VarArrayCreate &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 以给定的界限和维数建立变体数组 &nbsp;<br>VarArrayDimCount &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回给定变体的维数 &nbsp;<br>VarArrayHighBound &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回给定变体数组维数的上界 &nbsp;<br>VarArrayLock &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 锁定给定的变体数组 &nbsp;<br>VarArrayLowBound &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回给定变体数组维数的下界 &nbsp;<br>VarArrayOf &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回指定变体的数组元素 &nbsp;<br>VarArrayRedim &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 通过改变上限来调整变体的大小 &nbsp;<br>VarArrayUnlock &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 解锁指定的变体数组 &nbsp;<br>VarAsType &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将变体转换为指定的类型 &nbsp;<br>VarCase &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将变体转换为指定的类型并保存他 &nbsp;<br>VarClear &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 清除指定的变体 &nbsp;<br>VarCopy &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将指定的变体复制为指定的变体 &nbsp;<br>VarFormDateTime &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 返回包含日期时间的变体 &nbsp;<br>VarIsArray &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 测试变体是否为数组 &nbsp;<br>VarIsEmpty &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 测试变体是否为UNASSIGNED &nbsp;<br>VarIsNull &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 测试变体是否为NULL &nbsp;<br>VarToDateTime &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将给定的变体转换为日期时间 &nbsp;<br>VarType &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将变体转换为指定的类型并保存他 &nbsp;<br>Visible &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 控件的可见性 &nbsp;<br>WantReturns &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 属性 &nbsp; &nbsp; &nbsp; &nbsp; 为True时,按回车键产生一个回车符; <br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;为False时,按下Ctrl+Enter才产生回车符 &nbsp;<br>Write &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 命令 &nbsp; &nbsp; &nbsp; &nbsp; 对有格式的文件,写一变量到文件组件中; <br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;对文本文件,写一个或多个值到文件中 &nbsp;<br>Writeln &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 命令 &nbsp; &nbsp; &nbsp; &nbsp; 执行WRITE过程,然后输出一行结束标志 &nbsp;<br>WideCharLenToString &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将ANSI字符串转换为UNICODE字符串 &nbsp;<br>WideCharLenToStrWar &nbsp; &nbsp; &nbsp; &nbsp; 函数 &nbsp; &nbsp; &nbsp; &nbsp; 将UNICODE字符串转换为ANSI字符串变量 &nbsp;<br>WideCharToString &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将UNICODE字符串转换为ANSI字符串 &nbsp;<br>WideCharToStrVar &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;函数 &nbsp; &nbsp; &nbsp; &nbsp; 将UNICODE字符串转换为ANSI字符串变量<br><br>stringtowidechar 函数 将ansi字符串转换为unicode字符串 <br>widecharlentostring 函数 将ansi字符串转换为unicode字符串 <br>widecharlentostrwar 函数 将unicode字符串转换为ansi字符串变量 <br>widechartostring 函数 将unicode字符串转换为ansi字符串 <br>widechartostrvar 函数 将unicode字符串转换为ansi字符串变量 <br><br><br><br><br><br><br><br>function LeftStr(S:string;Count:integer):string; &nbsp;<br>begin &nbsp;//获取字符串左边起n个字符 &nbsp;<br>&nbsp; LeftStr:=Copy(s,1,Count); &nbsp;<br>end; &nbsp;<br><br>function RightStr(S:string;Count:integer):string; &nbsp;<br>begin &nbsp;//获取字符串右边起n个字符 &nbsp;<br>&nbsp; RightStr:=Copy(s,Length(s)-Count+1,Count); &nbsp;<br>end; &nbsp;<br><br>function ReplaceStr(S:string;OldStr,NewStr:string):string; &nbsp;<br>var i,j:integer; &nbsp;<br>&nbsp; &nbsp; ss:string; &nbsp;<br>begin &nbsp;//替换字符串 (其实Delphi已经提供对应的函数了StringReplace) &nbsp;<br>&nbsp; i:=1; &nbsp;<br>&nbsp; ss:=''; &nbsp;<br>&nbsp; j:=length(OldStr); &nbsp;<br>&nbsp; while i&lt;=length(s) do <br>begin <br>if LowerCase(copy(s,i,j))=LowerCase(OldStr) <br>then <br>begin <br>ss:=ss+NewStr; <br>inc(i,j); <br>end <br>else <br>begin <br>ss:=ss+s; <br>inc(i,1); <br>end; <br>end; <br>Result:=ss; <br>end; <br><br>function LTrim(S:string):string; <br>begin //删除字符串左边空格 <br>s:=s+'*'; <br>s:=Trim(s); <br>Delete(s,length(s),1); <br>end; <br><br>function RTrim(S:string):string; <br>begin //删除字符串右边空格 <br>s:='*'+s; <br>s:=Trim(s); <br>Delete(s,1,1); <br>end; <br><br>function LDelete(S,Sub:string):string; <br>begin //删除字符串左边的某一所有字符 <br>while LeftStr(S,1)=sub do <br>Delete(S,1,1); <br>LDelete:=s; <br>end; <br><br>function RDelete(S,Sub:string):string; <br>begin //删除字符串右边的某一所有字符 <br>sub:=copy(sub,1,1); <br>while RightStr(S,1)=sub do <br>Delete(S,length(s),1); <br>RDelete:=s; <br>end; <br><br>function MDelete(S,Sub:string):string; <br>begin //删除字符串中包含的某一所有字符 <br>sub:=copy(sub,1,1); <br>while Pos(sub,s)&gt;0 do &nbsp;<br>&nbsp; &nbsp; Delete(S,Pos(sub,s),1); &nbsp;<br>&nbsp; MDelete:=s; &nbsp;<br>end; &nbsp;<br><br>function GetCodeNo(NoStr:string;NoLen:integer):string; &nbsp;<br>begin &nbsp;//生成一个在数字前面自动补零编码 &nbsp;<br>&nbsp; NoStr:=Trim(NoStr); &nbsp;<br>&nbsp; Result:=copy('00000000000000000000',1,NoLen-length(NoStr))+NoStr; &nbsp;<br>end; &nbsp;<br><br><br><br>放置任意的文件到Delphi的EXE文件里面<br>  <br>&nbsp;<br>&nbsp; &nbsp; 通常在Delphi的应用程序中,我们会调用到很多的资源,例如图片,动画(AVI),声音,甚至于别的执行文件。当然,把这些资源分布到不同的目录不失为一个好办法,但是有没有可能把这些资源编译成标准的windows资源从而链接到一个执行文件里面呢?<br><br>我们可以自己做一个RC文件,例如 sample.rc ,RC文件其实就是一个资源文件的描述文本,通过“记事本”程序创建就行了。然后可以输入一些我们要定义的资源,例如:<br><br>MEN BITMAP c:/bitmap/men.bitmap<br>ARJ EXEFILE c:/arj.exe<br>MOV AVI c:/mov.avi <br>然后用BRCC32把这个RC文件编译成sample.res(真正的资源文件)。<br><br>在Delphi的工程文件中使用 $R 编译指令让Delphi包括资源到EXE文件里面。<br><br>{$R sample.res} <br>这样我们就可以在这个单一的执行文件中调用资源了。举例如下:<br><br>EXEFILE:<br><br>procedure ExtractRes(ResType, ResName, ResNewName : String);<br>var<br>Res : TResourceStream;<br>begin<br>Res := TResourceStream.Create(Hinstance, Resname, Pchar(ResType)); Res.SavetoFile(ResNewName);<br>Res.Free;<br>end; <br>AVI:<br><br>procedure LoadAVI;<br>begin<br>{Avi1是一个TAnimate类}<br>Avi1.ResName:='AVI';<br>Avi1.Active:=True;<br>end; <br>&nbsp;<br>&nbsp;<br>http://www.delphiboy.com/cgi-bin/book.php?PHPSESSID=3a963510f9f034d814b5df79b8546c67<br><br>function StrPos (const s1, s2: string; pos, max: Integer): Integer; &nbsp;<br>// s1 = &nbsp;the string that must be found &nbsp;<br>// s2 = &nbsp;the string to search &nbsp;<br>// pos = start position &nbsp;<br>// max = maximum search length &nbsp;<br>var s, l1, l2, j: Integer; &nbsp;<br>begin &nbsp;<br>Result:= -1; &nbsp;<br>l1:= Length (s1); &nbsp;<br>l2:= Length (s2); &nbsp;<br>if max &lt;= 0 then max:= l2; // maximum length <br>if pos &lt; 0 then pos:= 0; // we can not search befor the first char <br>if (l1 &lt;= 0) or (pos &gt; max) then &nbsp;Exit; // maybe we're ready at all? &nbsp;<br>for s:= pos to (max - l1) do begin &nbsp;<br>&nbsp; for j:= 1 to l2 do begin &nbsp;<br>&nbsp; &nbsp;if (s1[j] &lt;&gt; s2[s+j]) then BREAK; // Diffrence detectet &nbsp;<br>&nbsp; &nbsp;// we have it found &nbsp;<br>&nbsp; &nbsp;if (j = l1) then begin &nbsp;Result:= s; &nbsp;Exit; &nbsp;end; &nbsp;<br>&nbsp; end; &nbsp;<br>end; &nbsp;<br>end; &nbsp;<br><br><br><br>i: array[0..1] of integer;<br>c: array[0..1] of char;<br>&nbsp; i[0] := ord(c[0]);<br>&nbsp; i[1] := ord(c[1]);
 
一般有三种方法,详见MSDN<br>1. UINT WinExec(<br>&nbsp; LPCSTR lpCmdLine, &nbsp;// command line<br>&nbsp; UINT uCmdShow &nbsp; &nbsp; &nbsp;// window style<br>);但此函数只适用于16位windows,在32位windows应使用CreateProcess<br>2. BOOL CreateProcess(<br>&nbsp; LPCTSTR lpApplicationName, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // 输入参数,要执行的module的路径<br>&nbsp; LPTSTR lpCommandLine, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// 输入参数,执行的命令行参数<br>&nbsp; LPSECURITY_ATTRIBUTES lpProcessAttributes, // 输入参数,指针指向一个结构表示,返回的句柄是否能被继承<br>&nbsp; LPSECURITY_ATTRIBUTES lpThreadAttributes, &nbsp;// 输入参数,同上类似,只是为线程的属性<br>&nbsp; BOOL bInheritHandles, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// 输入参数,表示是否创建的进程可以继承主进程的属性.<br>&nbsp; DWORD dwCreationFlags, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // 输入参数,一些标志:如是否创建窗口,是否命令行窗口等.<br>&nbsp; LPVOID lpEnvironment, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// 输入参数,给创建的进程的环境变量<br>&nbsp; LPCTSTR lpCurrentDirectory, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// 输入参数,当前的路径<br>&nbsp; LPSTARTUPINFO lpStartupInfo, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // 输入参数,表示新进程的窗口的属性<br>&nbsp; LPPROCESS_INFORMATION lpProcessInformation // 输出参数,表示新进程的返回信息<br>);<br>3 只是个简单的<br>&nbsp;HINSTANCE ShellExecute(<br>&nbsp; &nbsp; HWND hwnd, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //父窗口的句柄<br>&nbsp; &nbsp; LPCTSTR lpVerb, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//几种执行的方式:有edit ,explore,print,open<br>&nbsp; &nbsp; LPCTSTR lpFile, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//执行的文件名<br>&nbsp; &nbsp; LPCTSTR lpParameters, &nbsp; &nbsp;//执行的参数<br>&nbsp; &nbsp; LPCTSTR lpDirectory, &nbsp; &nbsp; //执行的路径<br>&nbsp; &nbsp; INT nShowCmd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //窗口的最大最小等等属性<br>);<br><br>
 
谢谢朋友们!虽然还没实践,但还是先把分分了吧!100分3个朋友!??35 &nbsp;30 &nbsp;35 ::))
 
我第一次来这里,实在对不起,本来100分3个朋友:816 35, maming 30, Stewart 35;<br>可把分发错了,都发给一个朋友了,现在我只有25分了,不够补偿了。。。。。
 
后退
顶部