Browse Subversion Repository
Contents of /Unit3.pas
Parent Directory
| Revision Log
Revision 7 -
( show annotations)
( download)
( as text)
Mon Jul 20 22:47:05 2015 UTC
(8 years, 8 months ago)
by yamat0jp
File MIME type: text/x-pascal
File size: 582 byte(s)
ちょっとだけ工夫しました
リサイズでエディットの値を同期
UIを改良
| 1 |
unit Unit3; |
| 2 |
|
| 3 |
interface |
| 4 |
|
| 5 |
uses |
| 6 |
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, |
| 7 |
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls; |
| 8 |
|
| 9 |
type |
| 10 |
TForm3 = class(TForm) |
| 11 |
Image1: TImage; |
| 12 |
procedure FormResize(Sender: TObject); |
| 13 |
private |
| 14 |
{ Private éž } |
| 15 |
public |
| 16 |
{ Public éž } |
| 17 |
end; |
| 18 |
|
| 19 |
var |
| 20 |
Form3: TForm3; |
| 21 |
|
| 22 |
implementation |
| 23 |
|
| 24 |
{$R *.dfm} |
| 25 |
|
| 26 |
uses Unit2; |
| 27 |
|
| 28 |
procedure TForm3.FormResize(Sender: TObject); |
| 29 |
begin |
| 30 |
Form2.UpDown1.Position:=ClientWidth; |
| 31 |
Form2.UpDown2.Position:=ClientHeight; |
| 32 |
end; |
| 33 |
|
| 34 |
end. |
|