Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

Theiller.DialogForm

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Theiller.DialogForm

Boss install new

pascal
boss install https://github.com/JTheiller/Theiller.DialogForm

Code

pascal
//...
uses
  Theiller.DialogForm.Factory;
  
procedure TForm1.button1Click(Sender: TObject);
begin
  TDialogFactory.NewInformation('My title','My message');
  TDialogFactoy.NewError('My title','My message');
  TDialogFactoy.NewQuestion('My title','My message',
                            procedure
                            begin
                              Button1.Caption := 'Generic Yes';
                            end
                            ,
                            procedure
                            begin
                              Button1.Caption := 'Generic No';
                            end);
end;