FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : ActiveColumn Property |
'Declaration Public Property ActiveColumn As Integer
'Usage Dim instance As SheetView Dim value As Integer instance.ActiveColumn = value value = instance.ActiveColumn
public int ActiveColumn {get; set;}
This property is available at run time only.
Set this property to specify the active column. Return the value of this property to retrieve the column index of the active column.
FarPoint.Web.Spread.SheetView sv = FpSpread1.ActiveSheetView;
sv.ActiveColumn = 2;
sv.ActiveRow = 2;
sv.SetValue(sv.ActiveColumn, sv.ActiveRow, "Active");
sv.OperationMode = FarPoint.Web.Spread.OperationMode.Normal;
sv.AllowInsert = True;
sv.AllowDelete = True;
Dim sv As FarPoint.Web.Spread.SheetView sv = FpSpread1.ActiveSheetView sv.ActiveColumn = 2 sv.ActiveRow = 2 sv.SetValue(sv.ActiveColumn, sv.ActiveRow, "Active") sv.OperationMode = FarPoint.Web.Spread.OperationMode.Normal sv.AllowInsert = True sv.AllowDelete = True
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6