Re: REPOST: Popup form on button
Comments inline. Thanks Brian, Hex, and Armin.
Colin
"hexathioorthoo xalate" <ruler@REMOVESP AM.clara.co.uk> wrote in message news:<106952925 9.8024.0@damia. uk.clara.net>.. .[color=blue]
> Brian, I'm not sure your code does exactly what he wants. This is the
> confusion I think: from his posting I believe he wants to "select" buttons
> on the popup form while the mouse button is down, and further only display
> the popup form while the mouse button is down. If the mouse button is ever
> released, regardless of where it is, then the popup form is hidden/disposed
> of.
>[color=green][color=darkred]
> > > When the mouse button is depressed over Button1, I want the
> > > popup form (an instance of formPopup) to show. If the mouse
> > > button is released anywhere, the cursor could be anywhere,
> > > even over another application or on the desktop or somewhere else,
> > > I want the popup form to be hidden. The code I have means that
> > > if I move the cursor away from the display form, then release
> > > the mouse button, the form isn't always hidden. I also want
> > > to trap various events in the instance of formPopup, such as
> > > mouseenter etc for controls on that form.[/color][/color]
>
> Colin, could you reply to confirm your exact desired behaviour please.
>[/color]
I did want to select buttons while the mouse button was down. I did
want the popup to disappear whenever the mouse button was released.
What Brian has written behaves more like a slick Windows programme and
this is what I will use. What Hex has written is what I asked for. I
asked for the wrong thing :(
Thank you both again
Colin
Comments inline. Thanks Brian, Hex, and Armin.
Colin
"hexathioorthoo xalate" <ruler@REMOVESP AM.clara.co.uk> wrote in message news:<106952925 9.8024.0@damia. uk.clara.net>.. .[color=blue]
> Brian, I'm not sure your code does exactly what he wants. This is the
> confusion I think: from his posting I believe he wants to "select" buttons
> on the popup form while the mouse button is down, and further only display
> the popup form while the mouse button is down. If the mouse button is ever
> released, regardless of where it is, then the popup form is hidden/disposed
> of.
>[color=green][color=darkred]
> > > When the mouse button is depressed over Button1, I want the
> > > popup form (an instance of formPopup) to show. If the mouse
> > > button is released anywhere, the cursor could be anywhere,
> > > even over another application or on the desktop or somewhere else,
> > > I want the popup form to be hidden. The code I have means that
> > > if I move the cursor away from the display form, then release
> > > the mouse button, the form isn't always hidden. I also want
> > > to trap various events in the instance of formPopup, such as
> > > mouseenter etc for controls on that form.[/color][/color]
>
> Colin, could you reply to confirm your exact desired behaviour please.
>[/color]
I did want to select buttons while the mouse button was down. I did
want the popup to disappear whenever the mouse button was released.
What Brian has written behaves more like a slick Windows programme and
this is what I will use. What Hex has written is what I asked for. I
asked for the wrong thing :(
Thank you both again
Colin
Comment