Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FormStyle==fsStayOnTop, but it don't stay on top 1

Status
Not open for further replies.

biot023

Programmer
Nov 8, 2001
403
GB
Hi.
I've noticed that, on some machines (all NT), forms I've created with the FormStyle set to fsStayOnTop will stay on top, yet on others (also NT) they won't.
Has anyone else come across this?
& does anyone know a work-around?
Cheers,
Douglas JL

Common sense is what tells you the world is flat.
 
try
this
FormStyle = fsStayOnTop

I don't know if you got the mistake subject of the thread



---LastCyborg---
 
No, sorry - I guess the title is a little misleading, but the actual code I use is exactly as you put it.
Cheers, though.
DJL

Common sense is what tells you the world is flat.
 
Never heard of that problem... You could always make OnFocus and OnFocusEnd events for your form and when it loses it's focus, tell it to BringToFront();

Cyprus
 
A cunning plan!
I'll give it a try - cheers, man!
DJL

Common sense is what tells you the world is flat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top