2016-12-07 12:23:59 +00:00
|
|
|
unit JvPageCompsReg;
|
2007-10-03 14:30:38 +00:00
|
|
|
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
|
|
|
|
interface
|
|
|
|
|
|
|
|
uses
|
|
|
|
Classes, LResources, SysUtils;
|
|
|
|
|
|
|
|
procedure Register;
|
|
|
|
|
|
|
|
implementation
|
2016-12-04 16:25:15 +00:00
|
|
|
|
2018-03-11 14:57:44 +00:00
|
|
|
{$R ..\..\resource\jvpagecompsreg.res}
|
|
|
|
|
2016-12-04 16:25:15 +00:00
|
|
|
uses
|
2018-03-23 18:43:14 +00:00
|
|
|
ImgList,
|
|
|
|
PropEdits, ComponentEditors,
|
2018-03-20 23:37:49 +00:00
|
|
|
JvDsgnConsts,
|
2018-03-23 18:43:14 +00:00
|
|
|
JvNavigationPane, JvNavPaneEditors,
|
2018-05-07 09:11:24 +00:00
|
|
|
JvTabBar, JvTabBarXPPainter,
|
2018-05-01 17:21:14 +00:00
|
|
|
JvPageList, JvNotebookPageList,
|
|
|
|
JvPageListEditors,
|
|
|
|
JvPageListTreeView;
|
2007-10-03 14:30:38 +00:00
|
|
|
|
|
|
|
procedure Register;
|
2018-03-20 23:37:49 +00:00
|
|
|
const
|
|
|
|
cImageIndex = 'ImageIndex';
|
2007-10-03 14:30:38 +00:00
|
|
|
begin
|
2018-03-23 18:43:14 +00:00
|
|
|
// JvNavigationPanel
|
2018-03-11 14:57:44 +00:00
|
|
|
RegisterComponents(RsPaletteJvcl, [ // was: RsPaletteNavPane
|
|
|
|
TJvNavigationPane,
|
|
|
|
TJvNavIconButton,
|
|
|
|
TJvNavPanelButton, TJvNavPanelHeader, TJvNavPanelDivider,
|
2018-05-07 09:11:24 +00:00
|
|
|
TJvTabBar, TJvModernTabBarPainter, TJvTabBarXPPainter,
|
2018-03-11 14:57:44 +00:00
|
|
|
TJvOutlookSplitter,
|
|
|
|
TJvNavPaneStyleManager, TJvNavPaneToolPanel
|
|
|
|
]);
|
2018-03-23 18:43:14 +00:00
|
|
|
RegisterPropertyEditor(TypeInfo(TImageIndex), TJvNavPanelPage, cImageIndex,
|
|
|
|
TJvNavPanePageImageIndexProperty);
|
|
|
|
RegisterPropertyEditor(TypeInfo(TImageIndex), TJvNavPanelHeader, cImageIndex,
|
|
|
|
TJvNavPanelHeaderImageIndexProperty);
|
|
|
|
RegisterPropertyEditor(TypeInfo(TImageIndex), TJvNavPanelButton, cImageIndex,
|
|
|
|
TJvNavPanelButtonImageIndexProperty);
|
|
|
|
RegisterPropertyEditor(TypeInfo(TImageIndex), TJvNavIconButton, cImageIndex,
|
|
|
|
TJvNavIconButtonImageIndexProperty);
|
|
|
|
|
|
|
|
// JvPageList
|
2018-05-01 17:21:14 +00:00
|
|
|
RegisterComponents(RsPaletteJvcl, [ // was: RsPaletteListComboTree
|
|
|
|
//TJvPageList,
|
|
|
|
TJvNotebookPageList]);
|
|
|
|
{
|
2018-03-23 18:43:14 +00:00
|
|
|
RegisterClasses([TJvPageList, TJvStandardPage]);
|
|
|
|
RegisterComponentEditor(TJvCustomPageList, TJvCustomPageListEditor); // was: TJvCustomPageEditor
|
|
|
|
RegisterComponentEditor(TJvCustomPage, TJvCustomPageEditor);
|
|
|
|
RegisterPropertyEditor(TypeInfo(TJvShowDesignCaption), nil, '',
|
2018-05-01 17:21:14 +00:00
|
|
|
TJvShowDesignCaptionProperty);#
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
2018-03-23 18:43:14 +00:00
|
|
|
RegisterPropertyEditor(TypeInfo(TJvCustomPage),
|
|
|
|
TJvCustomPageList, cActivePage, TJvActivePageProperty);
|
2018-05-01 17:21:14 +00:00
|
|
|
}
|
2018-03-23 18:43:14 +00:00
|
|
|
|
|
|
|
// JvPageTree
|
|
|
|
RegisterComponents(RsPaletteJvcl, [ // was: TsPaletteListComboTree
|
|
|
|
TJvSettingsTreeView, TJvPageListTreeView
|
|
|
|
]);
|
|
|
|
RegisterClasses([TJvSettingsTreeView, TJvPageListTreeView]);
|
|
|
|
|
|
|
|
RegisterPropertyEditor(TypeInfo(TImageIndex), TJvSettingsTreeImages, '',
|
|
|
|
TJvSettingsTreeImagesProperty);
|
|
|
|
|
2007-10-03 14:30:38 +00:00
|
|
|
end;
|
2018-03-11 22:55:51 +00:00
|
|
|
|
2007-10-03 14:30:38 +00:00
|
|
|
end.
|
|
|
|
|