Created
September 16, 2008 11:07
-
-
Save tobynet/11016 to your computer and use it in GitHub Desktop.
Designed Unit for TSpTBXFrame
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unit SpTBXFrameDesignUnit; | |
{ | |
Designed Unit for TSpTBXFrame | |
} | |
interface | |
procedure Register; | |
implementation | |
uses Classes, WCtlForm, DesignIntf, ToolsApi, TntForms_Design, SpTBXFrameUnit; | |
type | |
TSpTBXFrameWizard = class(TTntNewFormWizard) | |
protected | |
function ThisFormClass: TComponentClass; override; | |
public | |
function GetComment: AnsiString; override; | |
end; | |
TSpTBXFrameCustomModule = class(TWinControlCustomModule) | |
public | |
function Nestable: Boolean; override; | |
end; | |
procedure Register; | |
begin | |
RegisterCustomModule(TSpTBXFrame, TSpTBXFrameCustomModule); | |
RegisterPackageWizard(TSpTBXFrameWizard.Create); | |
end; | |
{ TSpTBXFrameWizard } | |
function TSpTBXFrameWizard.ThisFormClass: TComponentClass; | |
begin | |
Result := TSpTBXFrame; | |
end; | |
function TSpTBXFrameWizard.GetComment: AnsiString; | |
begin | |
Result := 'Creates a new SpTBXFrame'; | |
end; | |
{ TSpTBXFrameCustomModule } | |
function TSpTBXFrameCustomModule.Nestable: Boolean; | |
begin | |
Result := True; | |
end; | |
end. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment