event AddColumn (Group as Group, Column as Column)
Fired after a new column is added.

 TypeDescription 
   Group as Group A Group object where a new column is inserted.  
   Column as Column A Column object that's inserted to the group's Columns collection.  
The AddColumn event is fired when a new column is inserted to the group's Columns collection. Use the AddColumn event to associate extra data to a new column. Use the Add method to add new columns to Columns collection. Use the AddItem, InsertItem, InsertControlItem, PutItems or DataSource methods to add new items to the group.

The following VB sample changes the column's width:

Private Sub ExplorerTree1_AddColumn(ByVal Group As EXPLORERTREELibCtl.IGroup, ByVal Column As EXPLORERTREELibCtl.IColumn)
    Column.Width = 196
End Sub

 


Send comments on this topic.
© 1999-2008 Exontrol Inc, Software. All rights reserved.