2018-03-12 14:03:31 +00:00
|
|
|
unit JvCustomReg;
|
|
|
|
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
|
|
|
|
interface
|
|
|
|
|
|
|
|
uses
|
|
|
|
SysUtils;
|
|
|
|
|
|
|
|
procedure Register;
|
|
|
|
|
|
|
|
implementation
|
|
|
|
|
|
|
|
{$R ../../resource/jvcustomreg.res}
|
|
|
|
|
|
|
|
uses
|
2018-03-23 23:59:33 +00:00
|
|
|
Classes, ImgList, Controls, LResources, PropEdits, GraphPropEdits, ComponentEditors,
|
2018-03-19 21:17:45 +00:00
|
|
|
JvDsgnConsts,
|
|
|
|
JvOutlookBar, JvOutlookBarEditors,
|
2018-05-07 09:11:24 +00:00
|
|
|
// JvTabBar, JvTabBarXPPainter,
|
2018-03-23 00:10:05 +00:00
|
|
|
JvThumbImage, JvThumbnails, JvThumbViews,
|
2018-04-18 22:20:45 +00:00
|
|
|
JvTimeLine, JvTMTimeLine, JvTimeLineEditor;
|
2018-03-12 14:03:31 +00:00
|
|
|
|
|
|
|
procedure Register;
|
|
|
|
begin
|
|
|
|
RegisterComponents(RsPaletteJvcl, [
|
2018-05-07 09:11:24 +00:00
|
|
|
// TJvTabBar, TJvModernTabBarPainter, TJvTabBarXPPainter, // moved to PageComps
|
2018-03-12 14:03:31 +00:00
|
|
|
TJvOutlookBar,
|
2018-03-23 00:10:05 +00:00
|
|
|
TJvThumbView, TJvThumbnail, TJvThumbImage,
|
2018-03-12 14:03:31 +00:00
|
|
|
TJvTimeLine,
|
|
|
|
TJvTMTimeLine
|
|
|
|
]);
|
|
|
|
|
|
|
|
// Timeline
|
|
|
|
RegisterComponentEditor(TJvCustomTimeLine, TJvTimeLineEditor);
|
2018-04-25 17:39:48 +00:00
|
|
|
RegisterPropertyEditor(TypeInfo(TDate), TJvTimeLine,
|
|
|
|
'FirstVisibledate', TDatePropertyEditor);
|
2018-03-12 14:03:31 +00:00
|
|
|
|
2018-04-24 15:22:33 +00:00
|
|
|
// OutlookBar
|
|
|
|
{RegisterPropertyEditor(TypeInfo(TJvOutlookBarPages), TJvCustomOutlookBar,
|
|
|
|
'', TJvOutlookBarPagesProperty);}
|
2018-03-12 14:03:31 +00:00
|
|
|
RegisterPropertyEditor(TypeInfo(Integer), TJvCustomOutlookBar,
|
|
|
|
'ActivePageIndex', TJvOutlookBarActivePageProperty);
|
|
|
|
RegisterPropertyEditor(TypeInfo(TImageIndex), TJvOutlookBarButton,
|
|
|
|
'ImageIndex', TJvOutlookBarButtonImageIndexProperty);
|
|
|
|
RegisterPropertyEditor(TypeInfo(TImageIndex), TJvOutlookBarPage,
|
|
|
|
'ImageIndex', TJvOutlookBarPageImageIndexProperty);
|
2018-04-24 15:22:33 +00:00
|
|
|
RegisterPropertyEditor(TypeInfo(TCaption), TJvOutlookBarPage,
|
|
|
|
'Caption', TJvOutlookBarCaptionProperty);
|
|
|
|
RegisterPropertyEditor(TypeInfo(TCaption), TJvOutlookBarButton,
|
|
|
|
'Caption', TJvOutlookBarCaptionProperty);
|
|
|
|
RegisterComponentEditor(TJvCustomOutlookBar, TJvOutlookBarEditor);
|
2018-03-12 14:03:31 +00:00
|
|
|
|
2018-03-23 23:59:33 +00:00
|
|
|
// Thumbnails
|
|
|
|
RegisterPropertyToSkip(TJvThumbnail, 'ClientWidth', 'Redundant', '');
|
|
|
|
RegisterPropertyToSkip(TJvThumbnail, 'ClientHeight', 'Redundant', '');
|
|
|
|
|
2018-03-12 14:03:31 +00:00
|
|
|
end;
|
|
|
|
|
|
|
|
end.
|
|
|
|
|