[SOLVED] Abort; question lazarus / 31-LCL ---------------------------------------------------------------------- k1attila1 · 2017-02-13 18:18 Hello this : procedure TForm1.FormCreate(Sender: TObject); begin     abort; end; why doesn't abort the creation of form ? (If i remember well delphi abort it.) thnak you Attila ---------------------------------------------------------------------- ASerge · 2017-02-13 18:44 Quote from: k1attila1 on February 13, 2017, 07:18:15 pmwhy doesn't abort the creation of form ? (If i remember well delphi abort it.) Only in older versions of Delphi. In later version event OnCreate called from the method DoCreate (from the AfterConstruction). And controls this behavior by the field OldCreateOrder. Lazarus uses only new approach. ---------------------------------------------------------------------- Thaddy · 2017-02-13 19:54 Why do you want to use abort?, just curious. In general that is not necessary and mostly not a brilliant idea, since it raises a silent exception. It can bring you into a lot of trouble later on in your program. Although it is valid Pascal, there are most likely other, better, options that avoid it. ---------------------------------------------------------------------- k1attila1 · 2017-02-14 05:06 Thnak you both of you I just play with Lazarus sometimes and try something special. Attila