Главная страница | назад





Article #16520: How can I create a transparent form?

 Question and Answer Database

FAQ1520D.txt   How can I create a transparent form?
Category   :VCL
Platform    :All
Product    :All 32 bit  

Question:
How can I create a transparent form?

Answer:
The following example demonstrates how to create a transparent
form.

Example:

procedure TForm1.FormCreate(Sender: TObject);
begin
  Form1.Brush.Style := bsClear;
  Form1.BorderStyle := bsNone
end;

procedure TForm1.BitBtn1Click(Sender: TObject);
begin
  Application.Terminate;
end;


7/16/98 4:31:28 PM
 

Last Modified: 01-SEP-99