Sometimes also setting the Enabled property to false helps. I'll often group
them into a container object such as a Panel so I can then hide and disable
the panel instead of worry about turning on and off a bunch of controls.
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"Mat" <Ma*******@hotmail.comwrote in message
news:Wk********************@wagner.videotron.net.. .
You can hide objects like labels or text boxes using the visible property
but the problem I have is that the space used by the object is used
leaving a blank spot.
how can u avoid that?