[일반/컴포넌트] 열거형(Enumerated) 상수를 문자열로 바꾸기
unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, typinfo, StdCtrls; type TForm1 = class(TForm) Button1: TButton; procedure Button1Click(Sender: TObject); private { Private declarations } public { Public declarations } end; TNumberType = (Zero, One, Two, Three, Four, Five, Six, Seven, Eight, Nine, Ten); var Form1: TForm1; implementation {$R *.DF..
[일반/컴포넌트] 주어진 영역의 화면 캡처
unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls; type TForm1 = class(TForm) Image1: TImage; BitBtn1: TBitBtn; procedure BitBtn1Click(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation {$R *.DFM} procedure ScreenShot(x : integer; y : integer; Width..