⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fr_popuplb.pas

📁 FASTREPORT报表工具,可以迅速制作报表.
💻 PAS
字号:
unit FR_PopupLB;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  StdCtrls;

type
  TfrPopupListBox = class(TForm)
  private
    { Private declarations }
  public
    { Public declarations }
    ListBox: TListBox;
    constructor Create(AOwner: TComponent); override;
    procedure _Deactivate(Sender: TObject);
  end;


implementation

{$R *.DFM}

constructor TfrPopupListBox.Create(AOwner: TComponent);
begin
  inherited Create(nil);
  BorderStyle := bsNone;
//  OnDeactivate := _Deactivate;
  ListBox := TListBox.Create(Self);
  with ListBox do
  begin
    Parent := Self;
    Ctl3D := False;
    IntegralHeight := True;
    ItemHeight := 11;
  end;
end;

procedure TfrPopupListBox._Deactivate(Sender: TObject);
begin
//  Hide;
end;

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -