Skip to content

Instantly share code, notes, and snippets.

@eugeneai
Created April 22, 2015 01:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eugeneai/823faa21869f249b8496 to your computer and use it in GitHub Desktop.
Save eugeneai/823faa21869f249b8496 to your computer and use it in GitHub Desktop.
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Grids;
type
TForm1 = class(TForm)
Button1: TButton;
StringGrid1: TStringGrid;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
add: boolean;
kol: integer;
implementation
uses Unit2;
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
begin
form2.visible:= true;
add:= true;
end;
end.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment