Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / General 2 / September 2004



Tip: Looking for answers? Try searching our database.

forcing a form to the front

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Claire Cates - 28 Sep 2004 18:19 GMT
I'm bringing up a form from a mousedown event in a list view.  The form has
just a bit of information the user may want to view.
What I would like to happen is for the user to press the mouse button and
hold it down to view the pop-up form and when the mouse button is released
the pop-up form will go away.

The problem is that the mousedown event code executes and displays the form
but  when execution returns from the mousedown event code, the original form
pops back to the front, covering up the small pop-up form

the mouseup event code is taking care of removing the form.

How can I make the pop-up form stay visible?

things I've tried
   1.  If I turn enable off for the original form, the form stays on top,
but then I don't get the mouse up event
   2.  I've tried using the zorder method on both the pop-up form and the
original form.  This doesn't seem to help
   3.  I've tried doing a setfocus on the pop-up form but the original form
still pops back on top when the mousedown event exits.

Any suggestions would be appreciated.

thanks

Claire
Mike Williams - 28 Sep 2004 19:39 GMT
> The problem is that the mousedown event code executes and
> displays the form but  when execution returns from the
> mousedown event code, the original form pops back to the
> front, covering up the small pop-up form

Form2.Show , Me
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.