2018-03-12 14:03:31 +00:00
|
|
|
unit JvCustomReg;
|
|
|
|
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
|
|
|
|
interface
|
|
|
|
|
|
|
|
uses
|
|
|
|
SysUtils;
|
|
|
|
|
|
|
|
procedure Register;
|
|
|
|
|
|
|
|
implementation
|
|
|
|
|
|
|
|
{$R ../../resource/jvcustomreg.res}
|
|
|
|
|
|
|
|
uses
|
|
|
|
Classes, ImgList, Controls, PropEdits, GraphPropEdits, ComponentEditors,
|
2018-03-19 21:17:45 +00:00
|
|
|
JvDsgnConsts,
|
|
|
|
JvOutlookBar, JvOutlookBarEditors,
|
|
|
|
JvTabBar, JvTabBarXPPainter,
|
2018-03-12 14:03:31 +00:00
|
|
|
JvTimeLine, JvTMTimeline, JvTimeLineEditor;
|
|
|
|
|
|
|
|
procedure Register;
|
|
|
|
begin
|
|
|
|
RegisterComponents(RsPaletteJvcl, [
|
2018-03-19 21:17:45 +00:00
|
|
|
TJvTabBar, TJvModernTabBarPainter, TJvTabBarXPPainter,
|
2018-03-12 14:03:31 +00:00
|
|
|
TJvOutlookBar,
|
|
|
|
TJvTimeLine,
|
|
|
|
TJvTMTimeLine
|
|
|
|
]);
|
|
|
|
|
|
|
|
// Timeline
|
|
|
|
RegisterComponentEditor(TJvCustomTimeLine, TJvTimeLineEditor);
|
|
|
|
RegisterPropertyEditor(TypeInfo(TDate), TJvTimeLine, 'FirstVisibledate', TDatePropertyEditor);
|
|
|
|
|
|
|
|
// Outlookbar
|
|
|
|
(*
|
|
|
|
RegisterPropertyEditor(TypeInfo(TJvOutlookBarPages), TJvCustomOutlookBar,
|
|
|
|
'', TJvOutlookBarPagesProperty);
|
|
|
|
RegisterPropertyEditor(TypeInfo(TJvOutlookBarButtons), TJvOutlookBarPage,
|
|
|
|
'', TJvOutlookBarPagesProperty);
|
|
|
|
*)
|
|
|
|
RegisterPropertyEditor(TypeInfo(Integer), TJvCustomOutlookBar,
|
|
|
|
'ActivePageIndex', TJvOutlookBarActivePageProperty);
|
|
|
|
RegisterPropertyEditor(TypeInfo(TImageIndex), TJvOutlookBarButton,
|
|
|
|
'ImageIndex', TJvOutlookBarButtonImageIndexProperty);
|
|
|
|
RegisterPropertyEditor(TypeInfo(TImageIndex), TJvOutlookBarPage,
|
|
|
|
'ImageIndex', TJvOutlookBarPageImageIndexProperty);
|
|
|
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
end.
|
|
|
|
|