Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SHOW() vs. Visible = .T.

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
What's the exact differences between using Object.SHOW() and Object.Visible = .T.?

Thanks
 
Hi

The Show method sets a form or form set's Visible property to true (.T.) and makes the form the active object. So the difference is that SHOW() method makes the form the current active object while visible=.t. does not make this.

However, Forms contained within a form set retain their Visible property setting. If a form's Visible property is set to false (.F.), the Show method for the form set does not show the form.

Hope this helps you :)
ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Vis0001

Object.Show() will also execute any code in the .Show() method, so you can conditionally set property values etc in the .Show() method if required.

HTH

Chris [pc2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top