Spread Windows Forms 11.0 Product Documentation
NameBox Constructor
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > NameBox Class : NameBox Constructor
construct
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New NameBox()
public NameBox()
Example
This example creates a name box and attaches it to the Spread control.
fpSpread1.ActiveSheet.AddCustomName("Alpha", "A1:B1", 0, 0);
FarPoint.Win.Spread.NameBox namebox1 = new FarPoint.Win.Spread.NameBox();
namebox1.Location = new Point(0, 0);
namebox1.Size = new Size(80, 20);
this.Controls.Add(namebox1);
namebox1.Attach(fpSpread1);
FpSpread1.ActiveSheet.AddCustomName("Alpha", "A1:B1", 0, 0)
Dim namebox1 As New FarPoint.Win.Spread.NameBox()
namebox1.Location = New Point(0, 0)
namebox1.Size = New Size(80, 20)
Controls.Add(namebox1)
namebox1.Attach(FpSpread1)
See Also

Reference

NameBox Class
NameBox Members