The Hide method makes a grid invisible.
• grid – A grid object.
Use the Hide method to make any grid in an open window invisible. While invisible, data in the grid is accessible. Use this method when you want to reference data displayed in the grid without making the grid itself visible, or if you want to hide the contents of the grid from the user.
If you use the window object’s Hide method to hide a window containing a grid (such as a lookup window), the Hide method hides both the window and the grid.