Spread for ASP.NET 10 Product Documentation
ActiveSheetChanged Event
Example 


Occurs when the user changes the active sheet.
Syntax
'Declaration
 
Public Event ActiveSheetChanged As EventHandler
'Usage
 
Dim instance As FpSpread
Dim handler As EventHandler
 
AddHandler instance.ActiveSheetChanged, handler
public event EventHandler ActiveSheetChanged
Example
This example illustrates the use of the event.
FpSpread1.Sheets.Count = 3;

private void FpSpread1ActiveSheetChanged(object sender, System.EventArgs e) 
{
    TextBox1.Text = FpSpread1.ActiveSheetViewIndex.ToString();
}
FpSpread1.Sheets.Count = 3

Private Sub FpSpread1ActiveSheetChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles FpSpread1.ActiveSheetChanged
    TextBox1.Text = FpSpread1.ActiveSheetViewIndex.ToString()
End Sub
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

FpSpread Class
FpSpread Members

 

 


Copyright © GrapeCity, inc. All rights reserved.