unit test; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs,numericinput, ExtCtrls; type TForm1 = class(TForm) procedure FormShow(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; b : TNumericInput; implementation {$R *.dfm} procedure TForm1.FormShow(Sender: TObject); begin b:=tnumericinput.create(self); b.color:=clred; b.font.color:=clwhite; b.top:=100; b.Left:=50; b.max:=1000; b.value:=1000; end; end.