Dear all

 

I want to create a form on my application that has an Always on Top property. I 
used a following code

 

 

Procedure TMainForm.FormCreate(Sender: TObject);

Var

  MyForm:TForm;  

Begin

  MyForm:=TForm.Create(self);

  MyForm.Width:=256;

  MyForm.Height:=128;

  MyForm.Left:=0;

  MyForm.Top:=0;

  MyForm.BorderStyle:=bsNone;

  MyForm.FormStyle:=fsStayOnTop;  

  MyForm.Color:=clblack;

  MyForm.Show;

End;

 

After I run the program, MyForm has a StayOnTop property only for a MainForm, 
but I want Myform has an Always on Top for all of the Windows programs, Message 
dialog box, and etc �

How should I do this?

Thank you in advance for your help.

 

Aryan Salmanpour 


                
---------------------------------
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 

[Non-text portions of this message have been removed]



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to