[AccessD] A2K - setting a form invisible on open

Drew Wutka DWUTKA at marlow.com
Sat Nov 8 23:57:10 CST 2003


Sounds like you need to have a doevents or me.Repaint command.  You are
setting a form's visible property to false, but that requires a screen
repaint.  Just a guess.

Drew

-----Original Message-----
From: John Colby
To: AccessD
Sent: 11/8/03 10:10 AM
Subject: [AccessD] A2K - setting a form invisible on open

I have a form I want to open invisible every time it opens, regardless
of
how it is opened.  I placed me.visible = false in OnOpen.  That doesn't
work!  The strange part is that if I place a breakpoint on the line and
stop
execution on the me.visible = false, then continue, the form correctly
hides
itself.

Has anyone ever seen such a strangeness?

John W. Colby
www.colbyconsulting.com


_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com


More information about the AccessD mailing list