If it wasn't clear, here are the EXAMPLE units which define and register an
inheritable form.

Example note form:

https://github.com/sysrpl/dockedform/blob/master/docknotefrm.pas

The logic of the registration code:

https://github.com/sysrpl/dockedform/blob/master/dockerformdesign.pas


Usage:

procedure Register;
begin
  RegisterForm(TDockNoteForm, 'Note Form', 'A form to take notes',
'DockNoteFrm');
end;
-- 
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to