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,
|
2020-05-06 10:40:05 +00:00
|
|
|
PropEdits, ComponentEditors, TreeViewPropEdit,
|
2020-04-28 20:39:01 +00:00
|
|
|
JvDsgnConsts, JvPageList,
|
2018-03-23 18:43:14 +00:00
|
|
|
JvNavigationPane, JvNavPaneEditors,
|
2018-05-07 09:11:24 +00:00
|
|
|
JvTabBar, JvTabBarXPPainter,
|
2019-05-29 16:06:12 +00:00
|
|
|
JvNotebookPageList,
|
2020-05-06 10:40:05 +00:00
|
|
|
JvPageListEditors, JvPageLinkEditorForm,
|
2018-05-01 17:21:14 +00:00
|
|
|
JvPageListTreeView;
|
2007-10-03 14:30:38 +00:00
|
|
|
|
|
|
|
procedure Register;
|
2018-03-20 23:37:49 +00:00
|
|
|
const
|
|
|
|
cImageIndex = 'ImageIndex';
|
2020-04-28 20:39:01 +00:00
|
|
|
cActivePage = 'ActivePage';
|
2007-10-03 14:30:38 +00:00
|
|
|
begin
|
2018-03-23 18:43:14 +00:00
|
|
|
// JvNavigationPanel
|
2019-07-20 17:30:47 +00:00
|
|
|
RegisterComponents(RsPaletteJvclVisual, [ // was: RsPaletteNavPane
|
2018-03-11 14:57:44 +00:00
|
|
|
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
|
2019-07-20 17:30:47 +00:00
|
|
|
RegisterComponents(RsPaletteJvclVisual, [ // was: RsPaletteListComboTree
|
2020-04-28 22:14:36 +00:00
|
|
|
TJvNotebookPageList,
|
|
|
|
TJvPageList]);
|
2020-04-28 20:39:01 +00:00
|
|
|
|
2018-03-23 18:43:14 +00:00
|
|
|
RegisterClasses([TJvPageList, TJvStandardPage]);
|
2020-04-28 20:39:01 +00:00
|
|
|
RegisterNoIcon([TJvStandardPage]);
|
|
|
|
RegisterComponentEditor(TJvCustomPageList, TJvCustomPageEditor); // was: TJvCustomPageEditor
|
2018-03-23 18:43:14 +00:00
|
|
|
RegisterComponentEditor(TJvCustomPage, TJvCustomPageEditor);
|
|
|
|
RegisterPropertyEditor(TypeInfo(TJvShowDesignCaption), nil, '',
|
2020-04-28 20:39:01 +00:00
|
|
|
TJvShowDesignCaptionProperty);
|
2018-05-01 17:21:14 +00:00
|
|
|
|
2018-03-23 18:43:14 +00:00
|
|
|
RegisterPropertyEditor(TypeInfo(TJvCustomPage),
|
|
|
|
TJvCustomPageList, cActivePage, TJvActivePageProperty);
|
|
|
|
|
|
|
|
// JvPageTree
|
2019-07-20 17:30:47 +00:00
|
|
|
RegisterComponents(RsPaletteJvclVisual, [ // was: TsPaletteListComboTree
|
2020-04-28 22:14:36 +00:00
|
|
|
TJvPageListTreeView,
|
|
|
|
TJvSettingsTreeView
|
2018-03-23 18:43:14 +00:00
|
|
|
]);
|
|
|
|
RegisterClasses([TJvSettingsTreeView, TJvPageListTreeView]);
|
2020-05-06 10:40:05 +00:00
|
|
|
RegisterComponentEditor(TJvCustomPageListTreeView, TTreeViewComponentEditor);
|
2018-03-23 18:43:14 +00:00
|
|
|
|
2020-05-06 10:40:05 +00:00
|
|
|
RegisterPropertyEditor(TypeInfo(TJvPageLinks),
|
|
|
|
TJvCustomPageListTreeView, '', TJvPageLinksProperty);
|
2018-03-23 18:43:14 +00:00
|
|
|
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.
|
|
|
|
|