Code Comments
Programming Forum and web based access to our favorite programming groups.I'm sure this is something stupid, but my brain isn't working today. I have a pop-up form that I want to display while some background processes are occurring. The form has a couple of label fields that I fill in at run time. Here is the code I am using: set frm = New frmWait frm.lblAppName.Caption = appname frm.lblOldVersion.Caption = version frm.lblNewVersion.Caption = refver frm.Show .. do processing here ... Unload frm The problem is, when frm is displayed all I see is the form border; the window area is empty. I've tried all the different border styles and nothing made a diference. The only way I have found to display the label fields is to display the form as modal: frm.Show vbModal But this defeats my purpose; the user has to close the modal form before processing continues. What am I doing wrong? Thanks, Carl Rapson
Post Follow-up to this messageCarl Rapson wrote: > frm.lblOldVersion.Caption = version > frm.lblNewVersion.Caption = refver > frm.Show DoEvents 'allow the screen to catch up > ... do processing here ... > Unload frm -- Ken Halter - MS-MVP-VB - http://www.vbsight.com Please keep all discussions in the groups..
Post Follow-up to this messageThanks, Ken. I knew it was something simple I was overlooking. Carl "Ken Halter" <Ken_Halter@Use_Sparingly_Hotmail.com> wrote in message news:OMiUhwDvEHA.3840@TK2MSFTNGP12.phx.gbl... > Carl Rapson wrote: > DoEvents 'allow the screen to catch up > > -- > Ken Halter - MS-MVP-VB - http://www.vbsight.com > Please keep all discussions in the groups..
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.