Solved

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

Posted on 2014-02-22
4
409 Views
Last Modified: 2014-02-22
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
Comment
Question by:isnoend2001
  • 2
  • 2
4 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
ID: 39879501
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
 

Author Closing Comment

by:isnoend2001
ID: 39879526
Thanks, is there any difference in the speed ?
0
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 39879537
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
 

Author Comment

by:isnoend2001
ID: 39879589
Thanks
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question