<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="monospace">Hi List.</font><br>
<font face="monospace"><br>
In the designer it is not posible to use the builtin feature of
"Change Parent" (from the context menu) with a TPageControl. Other
controls seems to work fine (although i have not tested all of
them).<br>
<br>
To recreate the problem slap a TPanel and a TPageControl on the
mainform and add a single tabsheet. Use "Change Parent" on the
Pagecontrol and change it to the panel - and bang.<br>
<br>
I use:<br>
Lazarus trunk: r53105<br>
Fpc: 3.0.0 (release) x86_64<br>
<br>
Lazarus does a hard crash - even the stack-trace is halted:<br>
<br>
torsten@Rainier:~/FreePascal/lazarus$ ./startlazarus<br>
is a file<br>
TLazarusManager.Run starting
/home/torsten/FreePascal/lazarus/lazarus ...<br>
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions]
PrimaryConfigPath="/home/torsten/.lazarus"<br>
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions]
SecondaryConfigPath="/etc/lazarus"<br>
Hint: (lazarus) [TBuildManager.SetBuildTarget]
Old=x86_64-linux-gtk2 New=x86_64-linux-gtk2 FPC=True LCL=False<br>
TComponentTreeView.SetSelection: Updating component node values.<br>
AddComponent TPanel Parent=Form1:TForm1 23,15,269,625<br>
Parent is 'Form1:TForm1'<br>
Hint: (lazarus)
[TPkgManager.AddUnitDependenciesForComponentClasses] Extending
Uses unit1.pas ExtCtrls<br>
AddComponent TPageControl Parent=Form1:TForm1 326,26,470,604<br>
Parent is 'Form1:TForm1'<br>
Hint: (lazarus)
[TPkgManager.AddUnitDependenciesForComponentClasses] Extending
Uses unit1.pas ComCtrls<br>
TComponentTreeView.SetSelection: Selection.ForceUpdate
encountered.<br>
TComponentTreeView.SetSelection: Selection.ForceUpdate
encountered.<br>
TApplication.HandleException Access violation<br>
Stack trace:<br>
$00007FE443665D86<br>
<br>
<br>
This is as far as it goes.<br>
<br>
On a side node - it IS posible to select a tabsheet and change the
parent to the panel, which IMO should not be posible.<br>
<br>
<br>
Kind regards<br>
Torsten<br>
</font>
</body>
</html>