New TTabcontrol breaks existing code => package IDEInspector
Original Reporter info from Mantis: Martin @martin_frb
-
Reporter name: Martin Friebe
Original Reporter info from Mantis: Martin @martin_frb
- Reporter name: Martin Friebe
Description:
try install IDEInspector, and run lazarus. this will crash at startup
The tab control in question is used to contain a single component (the same component for all tabs). The component changes content depending on tab.
Additional information:
[FORMS.PP] ExceptionOccurred
Sender=EInvalidOperation
Exception=Control of class 'TTabControl' can't have control of class
'TCustomPropertiesGrid' as a child
Stack trace:
$005C2EE0 line 2317 of include/control.inc
$005C2F50 line 2329 of include/control.inc
$005C689E line 3527 of include/control.inc
$00C78E18 line 762 of maininspector.pas
$00C79254 line 817 of maininspector.pas
$00825D91 line 4782 of ../packager/packagesystem.pas
$00818553 line 1335 of ../packager/packagesystem.pas
$00ABDC22 line 61 of lazaruspackageintf.pas
$00496682 line 16 of ideinspector.pas
$00825D91 line 4782 of ../packager/packagesystem.pas
$00825BE8 line 4748 of ../packager/packagesystem.pas
$0082B1B5 line 1407 of ../packager/pkgmanager.pas
$0082C361 line 1643 of ../packager/pkgmanager.pas
$0044B57A line 1427 of main.pp
$00403214 line 107 of lazarus.pp
TApplication.HandleException Control of class 'TTabControl' can't have
control of class 'TCustomPropertiesGrid' as a child
Stack trace:
$005C2EE0 line 2317 of include/control.inc
$005C2F50 line 2329 of include/control.inc
$005C689E line 3527 of include/control.inc
$00C78E18 line 762 of maininspector.pas
$00C79254 line 817 of maininspector.pas
$00825D91 line 4782 of ../packager/packagesystem.pas
$00818553 line 1335 of ../packager/packagesystem.pas
$00ABDC22 line 61 of lazaruspackageintf.pas
$00496682 line 16 of ideinspector.pas
$00825D91 line 4782 of ../packager/packagesystem.pas
$00825BE8 line 4748 of ../packager/packagesystem.pas
$0082B1B5 line 1407 of ../packager/pkgmanager.pas
$0082C361 line 1643 of ../packager/pkgmanager.pas
$0044B57A line 1427 of main.pp
$00403214 line 107 of lazarus.pp