AddControl(Control,Int32) Method
Adds a child control to the specified sheet using the control's Top and Left properties for location.
'Declaration
Public Overloads Overridable Function AddControl( _
ByVal As Control, _
ByVal As Integer _
) As Boolean
'Usage
Dim instance As FpSpread
Dim child As Control
Dim sheetIndex As Integer
Dim value As Boolean
value = instance.AddControl(child, sheetIndex)
Parameters
- child
- Child control being added
- sheetIndex
- Index of the sheet
Return Value
True if the control was successfully added; otherwise, false