On 1/24/07, John Weller wrote:
>
> Message: 3
> Date: Wed, 24 Jan 2007 12:48:27 -0000
> From: "John Weller" <[EMAIL PROTECTED]>
> Subject: RE: Wierd Label behaviour
> To: <[email protected]>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain;charset="windows-1250"
>
> What is triggering the MessageBox?  Is it the button.click method or
> something called by that method?
>
> John Weller
> 01380 723235
> 07976 393631
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Garry Bettle
> > Sent: 24 January 2007 12:37
> > To: [EMAIL PROTECTED]
> > Subject: Wierd Label behaviour
> >
> >
> > Howdy all,
> >
> > Roll on the weekend.
> >
> > I have a fairly simple Project: one form with one button.  Above
> > the button,
> > I'm using
> > a label to brief the user as to what will happen when they click
> > the button.
> >
> > But when the user clicks the button, the label disappers because a
> > MESSAGEBOX is
> > shown - over the label - when the button.click method is finished.
> >
> > It's wierd, because the last line of this method refreshes the form:
> >
> > Thisform.Refresh
> >
> >
>


Thanks John,

It's the cmdButton.Click method that makes the MessageBox call.

It effectively turns the MessageBox Window into a "chalk-board" brush.
While it's still active, you can move it around the form and erase
everything on the form.

Then, when you close the MessageBox, the only thing that is repainted onto
the form is the
cmdButton.

?

-- 
MCP, Security+, MCTS SQL 2005


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to