Spread Windows Forms 8.0 Product Documentation
NameBox Constructor
Example 


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)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

NameBox Class
NameBox Members

 

 


Copyright © GrapeCity, inc. All rights reserved.