• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 486
  • Last Modified:

Any difference between Form1.Show & Form1.visible = true vb 6

I have always wondered, but never bothered to check.
Any difference between Form1.Show & Form1.visible = true or
me.show vs me.visible = true
also
Form1.visible = false vs Form1.hide
are their any differeces ?
0
isnoend2001
Asked:
isnoend2001
  • 2
  • 2
1 Solution
 
GrahamSkanRetiredCommented:
With Show, you get the opportunity to set the form to Modal status.

Also it always fires the 'Activate' event. Visible = True only does that when the form was not visible.
0
 
isnoend2001Author Commented:
Thanks, is there any difference in the speed ?
0
 
GrahamSkanRetiredCommented:
Since it does slightly less, I would guess that changing the Visible property is a wee bit faster than using the Show/Hide methods.
0
 
isnoend2001Author Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now