Visual Basic (Declaration) | |
---|---|
Public Function New() |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As New SpreadDropDownMonthCalendar() |
C# | |
---|---|
public SpreadDropDownMonthCalendar() |
This example uses the the drop-down month calendar.
C# | Copy Code |
---|---|
FarPoint.Win.Spread.CellType.DateTimeCellType dtest = new FarPoint.Win.Spread.CellType.DateTimeCellType(); dtest.SimpleEdit = true; dtest.SubEditor = new FarPoint.Win.Spread.CellType.SpreadMonthCalendar(); fpSpread1.Sheets[0].Cells[0, 0].CellType = dtest; FarPoint.Win.Spread.CellType.DateTimeCellType dtest1 = new FarPoint.Win.Spread.CellType.DateTimeCellType(); dtest1.SimpleEdit = true; dtest1.SubEditor = new FarPoint.Win.Spread.CellType.SpreadDropDownMonthCalendar(); fpSpread1.Sheets[0].Cells[0, 1].CellType = dtest1; |
Visual Basic | Copy Code |
---|---|
Dim dtest As New FarPoint.Win.Spread.CellType.DateTimeCellType dtest.SimpleEdit = True dtest.SubEditor = New FarPoint.Win.Spread.CellType.SpreadMonthCalendar FpSpread1.Sheets(0).Cells(0, 0).CellType = dtest Dim dtest1 As New FarPoint.Win.Spread.CellType.DateTimeCellType dtest1.SimpleEdit = True dtest1.SubEditor = New FarPoint.Win.Spread.CellType.SpreadDropDownMonthCalendar FpSpread1.Sheets(0).Cells(0, 1).CellType = dtest1 |
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