is there a way to reference an object instance that is created using the \"with\" statement?
Example:
with TAnObject.Create do begin DoSomething(in
for FMX, you should use GetObject example:
with TLabel.Create(box1) do begin Font.Size := 34; Font.Style := [TFontStyle.fsBold]; TextAlign := TTextAlign.taCenter; box1.AddObject(GetObject); end;;