ICode9

精准搜索请尝试: 精确搜索
  • 在 case 语句中使用字符串2021-04-30 21:56:33

    在 case 语句中使用字符串 非常遗憾 Delphi 的 case 语句不支持字符串, 但我觉得这也可能是基于效率的考量; 如果非要在 case 中使用字符串, 也不是不可以变通, 这里提供了五种方法. 本例效果图: 代码文件:unit Unit1; interface uses Windows, Messages, SysUtils, Var

  • RadioGroup 的使用2021-04-30 15:53:02

    RadioGroup 的使用 //获取 RadioGroup 项目名称 procedure TForm1.RadioGroup1Click(Sender: TObject); begin Text := RadioGroup1.Items[RadioGroup1.ItemIndex]; end; //当点击 RadioGroup 中的第几个选项时... procedure TForm1.RadioGroup1Click(Sender: TObject);

  • Delphi 与 DirectX 之 DelphiX(81): TDIB.ColoredLine();2021-04-30 11:05:11

    Delphi 与 DirectX 之 DelphiX(81): TDIB.ColoredLine(); 本例效果图: 代码文件:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls, ExtCtrls; type TForm1 = class(TForm) D

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有