|
Last change
on this file was 28, checked in by chronos, 9 years ago |
- Added: Remember forms dimensions.
- Added: Remember recent opened files.
|
|
File size:
377 bytes
|
| Line | |
|---|
| 1 | program PersistentFormDemo;
|
|---|
| 2 |
|
|---|
| 3 | {$mode objfpc}{$H+}
|
|---|
| 4 |
|
|---|
| 5 | uses
|
|---|
| 6 | {$IFDEF UNIX}{$IFDEF UseCThreads}
|
|---|
| 7 | cthreads,
|
|---|
| 8 | {$ENDIF}{$ENDIF}
|
|---|
| 9 | Interfaces, // this includes the LCL widgetset
|
|---|
| 10 | Forms, Unit1, Common
|
|---|
| 11 | { you can add units after this };
|
|---|
| 12 |
|
|---|
| 13 | {$R *.res}
|
|---|
| 14 |
|
|---|
| 15 | begin
|
|---|
| 16 | RequireDerivedFormResource:=True;
|
|---|
| 17 | Application.Initialize;
|
|---|
| 18 | Application.CreateForm(TForm1, Form1);
|
|---|
| 19 | Application.Run;
|
|---|
| 20 | end.
|
|---|
| 21 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.