[solved] Parent setting causes exception lazarus / 21-General ---------------------------------------------------------------------- Nicole · 2022-08-25 07:36 I have one more frame and add it to my form in the way I add other frames. This time I see an error caused by the line, the arrow points at. Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TForm_Tiger.FormCreate(Sender: TObject);begin  if Frame_Zeitzonenrechner = nil then begin    Frame_Zeitzonenrechner:=TFrame_Zeitzonenrechner(self);  // into storage    ====>   Frame_Zeitzonenrechner.Parent:=TabSheet_Berichte; // display   end;  This is the error message: Code: ASM  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i [Content]Projekt project1 hat Exception-Klasse »External: STACK OVERFLOW« ausgelöst.  In Datei 'control.inc' in Zeile 2121:Result := Parent.AutoSizingAll I tried to set autosize to true and to false in my frame, in my pagecontrol and in my tabsheets. The error comes again. How to change? ---------------------------------------------------------------------- KodeZwerg · 2022-08-25 07:52 Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i Frame_Zeitzonenrechner := TFrame_Zeitzonenrechner.Create(self);shouldnt it be like that? ---------------------------------------------------------------------- Nicole · 2022-08-25 08:36 Where is the icon of bumping with the head against a wall? Thank you! Sure, it should. ---------------------------------------------------------------------- KodeZwerg · 2022-08-25 09:34 You are welcome