On 1/25/07, Dave Crozier <[EMAIL PROTECTED]> wrote: > > > Garry, > Problem solved and emailed solution back. For others on the list, Garry > had > was creating a cursor in the Click() method of a button and extracting > data > from an external source, then displaying a messagebox with a "completed" > message. > > In the intervening coding there was a "clear" instruction issued which > effectively removed all the controls from the form but didn't refresh the > screen until the messagebox was moved around. > > As it says in Hackers, "clear is not to be used in forms" > > Dave Crozier > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Garry Bettle > Sent: 24 January 2007 17:41 > To: [email protected] > Subject: RE: Wierd Label behaviour > > On 1/24/07, Dave Crozier wrote: > > > > > > Gary, > > Send it and I'll have a look. > > > > [EMAIL PROTECTED] > > > > Dave Crozier > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf > > Of Garry Bettle > > Sent: 24 January 2007 14:48 > > To: [email protected] > > Subject: Re: Wierd Label behaviour > > > > On 1/24/07, Dave Crozier wrote: > > > > > > > > > Garry, > > > Sounds like a video driver problem to me. Try the same program using a > > > standard Vanilla 800x600 SVGA driver and see what the result is. > > > > > > Dave Crozier > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > > Behalf > > > Of Garry Bettle > > > Sent: 24 January 2007 14:04 > > > To: [email protected] > > > Subject: Re: Wierd Label behaviour > > > > > > 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. > > > > > > ? > > > > > > > Hi Dave, > > > > Hope these emails find you well. > > > > I don't think it's a Video problem. I have a similiar program that runs > > fine. Grrrr. > > > > Can I send this off-list to yourself - or anyone else? - to have a look? > > > > It's mighty small ... > > > > Cheers, > > > > Garry > > > > -- > > MCP, Security+, MCTS SQL 2005 > > > > > Done! > > Garry >
Many, many thanks Dave. Cheers, Garry "I'd rather have a bottle in front of me, than a frontal lobotomy." -- 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.

