Gets or sets whether to repeat the search from the start.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Property RepeatFromStart As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SearchDialog
Dim value As Boolean
instance.RepeatFromStart = value
value = instance.RepeatFromStart |
C# | |
---|
public virtual bool RepeatFromStart {get; set;} |
Property Value
Boolean:
true to repeat from the start;
false otherwise
Example
This example returns the index of the sheet where the text was found.
C# | Copy Code |
---|
FarPoint.Win.Spread.SearchDialog sd;
fpSpread1.SearchWithDialog("Test");
sd = fpSpread1.SearchDialog;
int i = sd.FoundSheetIndex();
sd.RepeatFromStart = false;
string[] s = sd.SearchStrings();
|
Visual Basic | Copy Code |
---|
Dim sd As FarPoint.Win.Spread.SearchDialog
FpSpread1.SearchWithDialog("Test")
sd = FpSpread1.SearchDialog
Dim i As Integer = sd.FoundSheetIndex()
sd.RepeatFromStart = False
Dim s As String() = sd.SearchStrings()
|
Requirements
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
See Also