From 4fb54451c06920ea616e740ee3decd0b652e2e9e Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Thu, 10 Aug 2023 11:27:30 +0000 Subject: [PATCH] TvPlanIt: Allow to select TVpNavBar folders in form designer at design-time. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8918 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/tvplanit/source/vpnavbar.pas | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/tvplanit/source/vpnavbar.pas b/components/tvplanit/source/vpnavbar.pas index 12047725d..3d8a37501 100644 --- a/components/tvplanit/source/vpnavbar.pas +++ b/components/tvplanit/source/vpnavbar.pas @@ -1184,7 +1184,11 @@ end; procedure TVpCustomNavBar.CMDesignHitTest(var Msg: TCMDesignHitTest); begin + {$IFDEF LCL} + Msg.Result := 1; + {$ELSE} Msg.Result := LongInt(nabOverButton); + {$ENDIF} end; {=====}