method G2antt.EnsureVisibleColumn (Column as Variant)

Scrolls the control's content to ensure that the column fits the client area.

 TypeDescription 
   Column as Variant A long expression that indicates the index of the column, a string expression that indicates the column's caption or the column's key.  

The EnsureVisibleColumn method ensures that the given column fits the control's client area. The EnsureVisibleColumn method has no effect if the column is hidded. Use the Visible property to show or hide a column. Use the Position property to change the column's position. Use the EnsureVisibleItem method to ensure that an item fits the control's client area. Use the ScrollBars property to hide the control's scroll bars. Use the Scroll method to programmatically scroll the control's content.


Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.