Skip to content

Instantly share code, notes, and snippets.

@Pasquina
Created March 25, 2018 22:04
Show Gist options
  • Save Pasquina/bbbf4a221535e0f8a456031dd97e4b59 to your computer and use it in GitHub Desktop.
Save Pasquina/bbbf4a221535e0f8a456031dd97e4b59 to your computer and use it in GitHub Desktop.
LiveBindings Demo FormCreate and FormDestroy
procedure TVLBO.FormCreate(Sender: TObject);
begin
MDLBO := TMDLBO.MDLBOGet;
end;
procedure TVLBO.FormDestroy(Sender: TObject);
begin
MDLBO.Free;
end;
@Pasquina
Copy link
Author

These are about a simple as you can get. OnCreate the MODEL is instantiated. OnDestroy, the MODEL is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment