Link to home
Start Free TrialLog in
Avatar of adrianmak
adrianmak

asked on

loading form

I want to load some forms but not show to user until user click a command from menu bar?
ASKER CERTIFIED SOLUTION
Avatar of s_lavie
s_lavie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of caraf_g
caraf_g

You don't even have to do that.

The line

Load YourForm

loads your form into memory, but does not yet display it on the screen. Then to display it, use

YourForm.Show

as usual.
Avatar of adrianmak

ASKER

I use load form to load it but it still display on screen
Well, you're doing something wrong. For 5 points and the risk of getting a "B" or worse for my answer I can't help you further.
adrianmak, what are you playing at? s_lavie's answer was correct.

Maybe s_lavie deserved a "B" for unnecessarily leading you down the garden path with the "Visible = False" bit, but certainly not a "C". Especially since you've only bothered to offer 5 miserly points. What do you expect from us, rocket science and a dissertation? I won't be bothering answering any more of your questions I don't think.
Thanks caraf_g
:-)
adrianmak, this question is duplicated.  There is still a question floating around that is locked by me.  (Same answer).  You need to have the question deleted or accept my answer (a whole 5 points!)