property Chart.PaneWidth(Right as Boolean) as Long
Specifies the width for the left or side pane.

 TypeDescription 
   Right as Boolean A Boolean expression that indicates whether the left ( items area ) or right ( chart area ) area is changed.   
   Long A Long expression that indicates the width of the pane.  
Use the PaneWidth property to specify the width of the control ( items area ) or chart area. Use the AddBar method to add bars to the item. The bars are always shown in the chart area. Use the HeaderVisible property to show or hide the control's header. Use the SortBarVisible property to specify whether the control's sort bar is visible or it is hidden. Use the LevelCount property to specify the number of levels being displayed in the chart's header. Use the Level property to access the level in the chart area. Use the BackColor property to specify the items's background color. Use the ForeColor property to specify the items's foreground color. Use the BackColor property to specify the chart's background color. Use the ForeColor property to specify the chart's foreground color.

The following VFP sample changes the width of the control's area:

with thisform.Gantt1.Chart
	.PaneWidth(0) = 256
endwith

The following VFP sample changes the width of the chart's area:

with thisform.Gantt1.Chart
	.PaneWidth(1) = 256
endwith
 

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