Spread Windows Forms 6.0 Product Documentation
Detach Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FormulaTextBox Class : Detach Method


Glossary Item Box

Detaches the Spread component from the formula text box.

Syntax

Visual Basic (Declaration) 
Public Sub Detach() 
Visual Basic (Usage)Copy Code
Dim instance As FormulaTextBox
 
instance.Detach()
C# 
public void Detach()

Example

This example creates a formula text box.
C#Copy Code
FarPoint.Win.Spread.FormulaTextBox editor = new FarPoint.Win.Spread.FormulaTextBox();
editor.Location = new Point(0, 0);
editor.Size = new Size(80, 20);
this.Controls.Add(editor);
editor.Attach(fpSpread1);
// This line will disconnect the formula bar from the control
// editor.Detach();
Visual BasicCopy Code
Dim editor As New FarPoint.Win.Spread.FormulaTextBox
editor.Location = New Point(0, 0)
editor.Size = New Size(80, 20)
Controls.Add(editor)
editor.Attach(FpSpread1)
� This line will disconnect the formula bar from the control 
� editor.Detach()

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.