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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Always On Top Problem

Status
Not open for further replies.

csr

Programmer
Jul 20, 2000
507
I am having difficulty getting a form to show up on top of the forms on my desktop. I am calling it from another form but it keeps going behind the calling form. I have tried every combination of ALWAYS ON TOP / ALWAYS ON THE BOTTOM for both forms but no cigar yet. I thought Zorder might be a solution so I tried calling Zorder(1) from inside the INIT of the called form. Still nothing.

What am I deal with here ... something mysterious ???



Don


 
Both forms are set to 1-In Top Level Form.

However, the form being called was set to IN-SCREEN with the same result.

Both forms also are now set to FALSE for ALWAYS ON TOP and ALWAYS ON BOTTOM ... but I had been fooling with those values also to no avail.

The only thing I was able to get work was to make the called form AS TOP LEVEL but that brought other issues into the mix so that is not desirable.



Don


 
Do you have a top-level form involved here? If not, set ShowWindow to 0 for both of these windows.

Tamar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top