Delphide Saydam Form Oluşturma(BİLMEM HOŞUNUZA GİDERMİ)

murat335

New member
Katılım
10 Eyl 2005
Mesajlar
874
Reaction score
0
Puanları
0
Yaş
43
Konum
SqlConnection con=new SqlConnection("data source="
PHP:
procedure TForm1.FormCreate(Sender: TObject); 
var 
MyRgn, ClientRgn, ButtonRgn: THandle; 
Margin, X, Y: Integer; 
begin 
Margin := (Width - ClientWidth) div 2; 
MyRgn := CreateRectRgn(0, 0, Width, Height); 
X := Margin; 
Y := Height - ClientHeight - Margin; 
ClientRgn := CreateRectRgn(X, Y, X + ClientWidth, Y + ClientHeight); 
CombineRgn(MyRgn, MyRgn, ClientRgn, RGN_XOR); 
X := X + Button1.Left; 
Y := Y + Button1.Top; 
ButtonRgn := CreateRectRgn(X, Y, X + Button1.Width, Y + Button1.Height); 
//-----------!!----------- 
CombineRgn(MyRgn, MyRgn, ButtonRgn, RGN_XOR); 
SetWindowRgn(Handle, MyRgn, True); 
end;
 
Geri
Üst