首页 > TAG信息列表 > CheckListBox1

Delphi CheckListBox用法 文章来源于《傻猫网络日志》 https://www.samool.com/41856.html

CheckListBox如何设置行高?默认设置是 lbStandard 或者 lbOwnerDrawVariable 会忽略你的行高设置值的改为lbOwnerDrawFixed 属性即可 删除:CheckListBox.DeleteSelected; 上下移: CheckListBox.Items.Move 删除用 CheckListBox1.Items.Delete(Index); 上下移动用 CheckListBox1.I

用一个 Byte 数表示 8 个复选框的选择状态

用一个 Byte 数表示 8 个复选框的选择状态 本例效果图: 代码文件:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, CheckLst; type TForm1 = class(TForm) CheckListBox1: TCheck

Direct2D (10) : 文本输出初步

Direct2D (10) : 文本输出初步 uses Direct2D, TypInfo; procedure TForm1.FormCreate(Sender: TObject); var f: TTextFormats; begin for f := Low(TTextFormats) to High(TTextFormats) do CheckListBox1.Items.Add(GetEnumName(TypeInfo(TTextFormats), Ord(f)