?? gridu.pas
字號:
unit GridU;
interface
uses
Windows, Messages, SysUtils, Classes, HTTPApp, WebModu, HTTPProd,
MidItems, WebForm, CompProd, PagItems, SiteProd, WebComp;
type
TGrid = class(TWebPageModule)
AdapterPageProducer: TAdapterPageProducer;
AdapterForm1: TAdapterForm;
AdapterGrid1: TAdapterGrid;
ColSpeciesNo: TAdapterDisplayColumn;
ColCategory: TAdapterDisplayColumn;
ColCommon_Name: TAdapterDisplayColumn;
ColSpeciesName: TAdapterDisplayColumn;
ColGraphic: TAdapterDisplayColumn;
AdapterCommandColumn1: TAdapterCommandColumn;
CmdEditRow: TAdapterActionButton;
private
{ Private declarations }
public
{ Public declarations }
end;
function Grid: TGrid;
implementation
{$R *.dfm} {*.html}
uses WebReq, WebCntxt, WebFact, Variants, DataU;
function Grid: TGrid;
begin
Result := TGrid(WebContext.FindModuleClass(TGrid));
end;
initialization
if WebRequestHandler <> nil then
WebRequestHandler.AddWebModuleFactory(TWebPageModuleFactory.Create(TGrid, TWebPageInfo.Create([wpPublished, wpLoginRequired], '.html'), crOnDemand, caCache));
end.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -