tvplanit: Fix and activate component editor of TVpNavBar (still some issues!). Fix TvNavBar background painting issue (#33675).

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6370 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2018-05-02 15:52:08 +00:00
parent 0dd145f49a
commit 3627e39793
6 changed files with 877 additions and 485 deletions

View File

@ -36,21 +36,17 @@ unit VpReg;
interface
uses
{$IFDEF LCL}
{$IFDEF LCL}
LCLProc, LCLType, LCLIntf, LazFileUtils,
{$ELSE}
Windows,
{$ENDIF}
{$IFDEF VERSION6}
{$IFNDEF LCL}
DesignIntf, DesignEditors, VCLEditors,
{$ELSE}
PropEdits, LazarusPackageIntf, FieldsEditor, ComponentEditors,
{$ENDIF}
{$ELSE}
Windows,
{$IFDEF VERSION6}
DesignIntf, DesignEditors, VCLEditors,
{$ELSE}
DsgnIntf,
{$ENDIF}
{$ENDIF}
Dialogs, Classes, Controls, TypInfo, Forms, SysUtils,
VpDatePropEdit;
@ -202,9 +198,7 @@ uses
VpContactButtons, { - New contact grid button bar component }
{ Designtime Interfaces (Property and Component Editors) }
VpAbout, { About form for the About property editor }
{$IFDEF DELPHI}
VpNabEd, { component editor for the VpNavBar } // crashes in Lazarus
{$ENDIF}
VpNabEd, { component editor for the VpNavBar }
VpFlxDSEd1; { Field mapper component editor for the FlexDS }
@ -557,9 +551,7 @@ begin
{----------------------------------------------------------------------------}
{ register component editors }
{----------------------------------------------------------------------------}
{$IFDEF DELPHI}
RegisterComponentEditor(TVpNavBar, TVpNavBarEditor);
{$ENDIF}
RegisterComponentEditor(TVpControlLink, TVpPrtFmtPropertyEditor);
RegisterComponentEditor(TVpFlexDataStore, TVpFlexDSEditor);