Spread Windows Forms 6.0 Product Documentation
ShowDialog(FpSpread) Method
See Also  Example Support Options
FarPoint.Win.Spread.Design Assembly > FarPoint.Win.Spread.Design Namespace > FpSpreadDesigner Class > ShowDialog Method : ShowDialog(FpSpread) Method


spread
FpSpread object

Glossary Item Box

Display SpreadDesigner form as a modal dialog box for the specific FpSpread control.

Syntax

Visual Basic (Declaration) 
Public Overloads Function ShowDialog( _
   ByVal spread As FpSpread _
) As DialogResult
Visual Basic (Usage)Copy Code
Dim instance As FpSpreadDesigner
Dim spread As FpSpread
Dim value As DialogResult
 
value = instance.ShowDialog(spread)
C# 
public DialogResult ShowDialog( 
   FpSpread spread
)

Parameters

spread
FpSpread object

Return Value

One of the System.Windows.Forms.DialogResult values

Example

This example displays the FpSpreadDesigner component at run time after it has been added to the form at design time.
C#Copy Code
FpSpreadDesigner1.ShowDialog(FpSpread1);
Visual BasicCopy Code
FpSpreadDesigner1.ShowDialog(FpSpread1)

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.