Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2014-02-22
4
414 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…

861 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