Spread Windows Forms 9.0 Product Documentation
AllowEditOverflow Property (FpSpread)
Example 


Gets or sets whether data can overflow into adjacent empty cells in the component while that cell is in edit mode.
Syntax
'Declaration
 
Public Property AllowEditOverflow As Boolean
'Usage
 
Dim instance As FpSpread
Dim value As Boolean
 
instance.AllowEditOverflow = value
 
value = instance.AllowEditOverflow
public bool AllowEditOverflow {get; set;}

Property Value

Boolean: true if data can overflow into adjacent empty cells in the Spread component while that cell is in edit mode; false otherwise

Remarks

Determines whether the display of data can overflow into adjacent empty cells when an editor is open in a cell.

When this property is set to true, the following occurs:

When the user moves from the cell, the spreadsheet automatically turns edit mode off and only the text that fits in the cell is displayed. To display overflow text in adjacent cells, use the AllowCellOverflow property.

Example
This example specifies if text is allowed to overflow to adjacent empty cells when users are editing the contents of the cell.
FarPoint.Win.Spread.FpSpread fpSpread1 = new FarPoint.Win.Spread.FpSpread();
FarPoint.Win.Spread.SheetView shv = new FarPoint.Win.Spread.SheetView();
fpSpread1.Location = new Point(10, 10);
fpSpread1.Height = 200;
fpSpread1.Width = 400;
Controls.Add(fpSpread1);
fpSpread1.Sheets.Add(shv);
fpSpread1.AllowEditOverflow = true;
Dim fpSpread1 As New FarPoint.Win.Spread.FpSpread()
Dim shv As New FarPoint.Win.Spread.SheetView()
fpSpread1.Location = New Point(10, 10)
fpSpread1.Height = 200
fpSpread1.Width = 400
Controls.Add(fpSpread1)
fpSpread1.Sheets.Add(shv)
fpSpread1.AllowEditOverflow = True
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

FpSpread Class
FpSpread Members
AllowCellOverflow Property

User-Task Documentation

Allowing Cell Data to Overflow

 

 


Copyright © GrapeCity, inc. All rights reserved.