?? selectdataunit.pas
字號:
unit SelectDataUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, DBGrids, StdCtrls, Buttons, ExtCtrls, DBCtrls;
type
TSelectDataForm = class(TForm)
Panel1: TPanel;
BitBtn1: TBitBtn;
BitBtn2: TBitBtn;
DBLookupComboBox1: TDBLookupComboBox;
Panel2: TPanel;
procedure BitBtn2Click(Sender: TObject);
procedure FormShow(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
SelectDataForm: TSelectDataForm;
implementation
uses udm;
{$R *.dfm}
procedure TSelectDataForm.BitBtn2Click(Sender: TObject);
begin
close;
end;
procedure TSelectDataForm.FormShow(Sender: TObject);
begin
if DBLookupComboBox1.Enabled then
begin
DBLookupComboBox1.SetFocus;
DBLookupComboBox1.DropDown;
end;
end;
end.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -