Hi:

I'm trying to setup a simple message box that displays a message (like
"Exiting Applicaton....). It's a simple form with only one label on
it, displayed in the center.

The label's text is set after initializecomponents is called from the
form's constructor.

I'm trying to use this in other forms. Right now, in the load handler
for another form, I have a warning message. If the user chooses no,
I'd like to have the display message show on the screen for a couple
of seconds before exiting app.

I create an instance of the message form from within the other form's
load handler and call Show().

The form displays on the screen, but where the label should be, is
only a white rectangular area, with no text at all.

Is there some extra precautions needed when calling other forms from
within your form application?

Any advice and/or help is appreciated.

Thanks

RE: Label not showing up on gui form called from within load handler of other form by anonymous

anonymous
Wed Feb 11 01:01:09 CST 2004

Hi,

i done the same on initial loading of forms - .net uses a long time for program statup ... - and I have to call refresh after each show command for the small message box.

hope that helps

Thomas