Do you have an example of creating individual wingrid objects on your tab control progmatically? Or your winchart control?
Any help would be appreciated.
Thanks
Hi,
I'm afraid I don't really understand the question. Creating a control programmatically is the same for any control. There's nothing specific about WinGrid or WinChart that would make them any different that any other bound control in this regard.
You would declare the new control, then add it to the TabPanel's control's collection and probably set the DataSource/DataMember.
"Can only add an UltraTabPageControl to an UltraTabControl."
Grid1 = New UltraWinGrid.UltraGrid
.Name = "Testgrid"
.Text = "xxx"
.DisplayLayout.Bands(0).AutoPreviewEnabled = True
.DisplayLayout.Bands(0).Columns.Add("test1")
End With
UltraTabControl1.Controls.Add(Grid1)