Board index » delphi » Form always on top

Form always on top

Sorry if this has been asked before, but is there a way I can ensure a
form always stays on top?
Thanks
         ||||||||
         | ~  ~ |
        (| @  @ |)
----oOOo---(__)---oOOo-------
Andy Williams Birmingham, UK
-----------------------------
 

Re:Form always on top


and...@williaj.demon.co.uk (Andrew J. Williams) wrote:

Quote
>Sorry if this has been asked before, but is there a way I can ensure a
>form always stays on top?
>Thanks

Set its FormStyle to fsStayOnTop.

Frank

--
// Frank Mikalsen, System developer, Mikrosys a.s, Norway      
// http://www.moscow.com/homepages/fra...@telepost.no.html
// -- Author of ShareWare: Silent Partner Backup Screensaver v1.50
// -- Download: ftp://ftp.coast.net/SimTel/win3/scrsaver/spbck150.zip

Re:Form always on top


In article: <809727197.20...@williaj.demon.co.uk>  and...@williaj.demon.co.uk (Andrew J.

Quote
Williams) writes:
>Sorry if this has been asked before, but is there a way I can ensure a
>form always stays on top?
>Thanks

Set the form's FormStyle property to fsStayOnTop
--
Phil Arundell (p...@pacom.demon.co.uk)
                                                 He Who Demands Respect
                                                 Must First Respect    
                                                 Himself
------------------------------------------------------------------------

Re:Form always on top


Also sprach Andrew J. Williams:
: Sorry if this has been asked before, but is there a way I can ensure a
: form always stays on top?

I'm not sure if I asked this before, but how can you get the minimized
form (icon) to stay on top?

--
Tuomas Salste   sal...@kruuna.helsinki.fi     http://www.helsinki.fi/~salste/  
****  Visual Basic Tools and DOOM levels available through my WWW page ****
----  Today's stupid blonde joke (I won't replace these!):
241. Q:     Why should you never take a blonde out for coffee?
     A:     It's too hard to re-train them.

Re:Form always on top


In article <421jak$...@oravannahka.Helsinki.FI> sal...@cc.Helsinki.FI (Tuomas M J Salste) writes:

Quote
>From: sal...@cc.Helsinki.FI (Tuomas M J Salste)
>Subject: Re: Form always on top
>Date: 30 Aug 1995 11:50:44 GMT
>Also sprach Andrew J. Williams:
>: Sorry if this has been asked before, but is there a way I can ensure a
>: form always stays on top?
>I'm not sure if I asked this before, but how can you get the minimized
>form (icon) to stay on top?

There's an obscure method of the "Application" type which you might need to
make stay-on-top work right with dialogs.

Other Threads