新的帮助模版

This commit is contained in:
sgwp 2024-11-02 14:43:32 +08:00
parent ae3a25dc93
commit fbed66c989
2 changed files with 76 additions and 0 deletions

View File

@ -0,0 +1,24 @@
inherited frmQryBaseHelpList: TfrmQryBaseHelpList
Caption = 'frmQryBaseHelpList'
PixelsPerInch = 96
TextHeight = 21
inherited cxGrid1: TcxGrid
inherited tv1: TcxGridDBTableView
inherited tv1SSel: TcxGridDBColumn
DataBinding.IsNullValueType = True
end
end
end
inherited ADOQueryBaseCmd: TADOQuery
Connection = ADOConnection1
end
inherited ADOQueryBaseTemp: TADOQuery
Connection = ADOConnection1
end
object ADOConnection1: TADOConnection
ConnectionTimeout = 30
LoginPrompt = False
Left = 480
Top = 176
end
end

View File

@ -0,0 +1,52 @@
unit U_QryBaseHelpList;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, U_QryBaseList, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore, dxSkinsDefaultPainters,
dxSkinWXI, cxStyles, cxCustomData, cxFilter, cxData, cxDataStorage, cxEdit,
cxNavigator, dxDateRanges, dxScrollbarAnnotations, Data.DB, cxDBData,
cxCheckBox, cxContainer, dxBarBuiltInMenu, Datasnap.DBClient,
cxGridCustomPopupMenu, cxGridPopupMenu, Data.Win.ADODB, MovePanel, cxTextEdit,
cxMaskEdit, cxDropDownEdit, Vcl.StdCtrls, Vcl.ExtCtrls, FrameDateSel10,
dxLayoutContainer, dxLayoutControl, cxGridLevel, cxGridCustomTableView,
cxGridTableView, cxGridDBTableView, cxClasses, cxGridCustomView, cxGrid,
Vcl.ComCtrls, Vcl.ToolWin;
type
TfrmQryBaseHelpList = class(TfrmQryBaseList)
ADOConnection1: TADOConnection;
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
frmQryBaseHelpList: TfrmQryBaseHelpList;
implementation
uses
U_dataLink;
{$R *.dfm}
procedure TfrmQryBaseHelpList.FormCreate(Sender: TObject);
begin
with ADOConnection1 do
begin
if not Connected then
begin
Connected := false;
ConnectionString := DConString;
LoginPrompt := false;
Connected := true;
end;
end;
inherited;
end;
end.