Spread Windows Forms 7.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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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