View Issue Details

IDProjectCategoryView StatusLast Update
0036440LazarusIDEpublic2019-12-22 06:06
ReporterCyrax Assigned ToMattias Gaertner  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinux x86_64OSArch 
Product Version2.1 (SVN) 
Summary0036440: [Codetools] Dropping TExtendedTabControl component to form editor doesn't add necessary code lines.
DescriptionDue to bug in Codetools (parsing implements and/or platform directive(s) doesn't work), dropping TExtendedTabControl component to form editor doesn't add necessary code lines inside TForm class and this causes exceptions to show up when either running application or trying adding events.

Attached patch gives a workaround to this bug.
Tagspatch
Fixed in Revision62394.
LazTarget-
Widgetset
Attached Files

Relationships

related to 0036099 assignedPascal Riekenberg "Error: expected ;, but experimental found" for initialized variables 

Activities

Cyrax

2019-12-14 13:03

reporter  

extendedtabcontrols.pas.diff (1,107 bytes)   
diff --git a/components/lazcontrols/extendedtabcontrols.pas b/components/lazcontrols/extendedtabcontrols.pas
index a4fd91c81f..650065e260 100644
--- a/components/lazcontrols/extendedtabcontrols.pas
+++ b/components/lazcontrols/extendedtabcontrols.pas
@@ -241,8 +241,8 @@ type
     constructor Create(TheOwner: TComponent); override;
     destructor Destroy; override;
     procedure GetChildren(Proc: TGetChildProc; Root: TComponent); override;
-    property ActivePage: TExtendedTabSheet read GetActiveTabSheet write SetActiveTabSheet; experimental; platform;
-    property Pages[Index: Integer]: TExtendedTabSheet read GetTabSheet; experimental; platform;
+    property ActivePage: TExtendedTabSheet read GetActiveTabSheet write SetActiveTabSheet; // experimental; platform;
+    property Pages[Index: Integer]: TExtendedTabSheet read GetTabSheet; // experimental; platform;
     property ShowToolBar: TTabControlToolBarSide read GetShowToolBar write SetShowToolBar;
     property ToolBar: TToolbarWrapper read FToolBarWrapper;
     property OnChange; // Only pages // TODO: activate for tabs
-- 
2.24.1

extendedtabcontrols.pas.diff (1,107 bytes)   

Cyrax

2019-12-14 13:04

reporter   ~0119836

implements should be experimental

Mattias Gaertner

2019-12-14 19:05

manager   ~0119850

I fixed codetools parsing.

Cyrax

2019-12-22 06:06

reporter   ~0120009

Thanks for the fix!

Issue History

Date Modified Username Field Change
2019-12-14 13:03 Cyrax New Issue
2019-12-14 13:03 Cyrax File Added: extendedtabcontrols.pas.diff
2019-12-14 13:04 Cyrax Note Added: 0119836
2019-12-14 13:04 Cyrax Tag Attached: patch
2019-12-14 15:40 Juha Manninen Relationship added related to 0036099
2019-12-14 18:38 Mattias Gaertner Assigned To => Mattias Gaertner
2019-12-14 18:38 Mattias Gaertner Status new => assigned
2019-12-14 19:05 Mattias Gaertner Status assigned => resolved
2019-12-14 19:05 Mattias Gaertner Resolution open => fixed
2019-12-14 19:05 Mattias Gaertner Fixed in Revision => 62394.
2019-12-14 19:05 Mattias Gaertner LazTarget => -
2019-12-14 19:05 Mattias Gaertner Note Added: 0119850
2019-12-22 06:06 Cyrax Status resolved => closed
2019-12-22 06:06 Cyrax Note Added: 0120009