Spread Windows Forms 7.0 Product Documentation
SetCustomText(String,String,String,String,String,String,String,String,String) Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SearchDialog Class > SetCustomText Method : SetCustomText(String,String,String,String,String,String,String,String,String) Method


findTextLabel
Text string to match
matchCaseLabel
Case to match string
exactMatchLabel
Exact match string
alternateSearchLabel
Alternate search string
useWildcardsLabel
Wildcard usage string
findText
Find text string
findNextText
Find next text string
closeText
Close text string
notFoundText
Text not found string

Glossary Item Box

Sets the custom text in the form to specified values.

Syntax

Visual Basic (Declaration) 
Public Overloads Overridable Sub SetCustomText( _
   ByVal findTextLabel As String, _
   ByVal matchCaseLabel As String, _
   ByVal exactMatchLabel As String, _
   ByVal alternateSearchLabel As String, _
   ByVal useWildcardsLabel As String, _
   ByVal findText As String, _
   ByVal findNextText As String, _
   ByVal closeText As String, _
   ByVal notFoundText As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As SearchDialog
Dim findTextLabel As String
Dim matchCaseLabel As String
Dim exactMatchLabel As String
Dim alternateSearchLabel As String
Dim useWildcardsLabel As String
Dim findText As String
Dim findNextText As String
Dim closeText As String
Dim notFoundText As String
 
instance.SetCustomText(findTextLabel, matchCaseLabel, exactMatchLabel, alternateSearchLabel, useWildcardsLabel, findText, findNextText, closeText, notFoundText)
C# 
public virtual void SetCustomText( 
   string findTextLabel,
   string matchCaseLabel,
   string exactMatchLabel,
   string alternateSearchLabel,
   string useWildcardsLabel,
   string findText,
   string findNextText,
   string closeText,
   string notFoundText
)

Parameters

findTextLabel
Text string to match
matchCaseLabel
Case to match string
exactMatchLabel
Exact match string
alternateSearchLabel
Alternate search string
useWildcardsLabel
Wildcard usage string
findText
Find text string
findNextText
Find next text string
closeText
Close text string
notFoundText
Text not found string

Example

This example sets the custom text for the dialog.
C#Copy Code
FarPoint.Win.Spread.SearchDialog sd;
fpSpread1.SearchWithDialog("Test");
sd = fpSpread1.SearchDialog;
sd.SetCustomText("TextLabel", "Matched", "Bingo", "Alternate", "WC", "Test", "Forward", "Close", "Ooops");
Visual BasicCopy Code
Dim WithEvents sd As FarPoint.Win.Spread.SearchDialog
FpSpread1.SearchWithDialog("Test")
sd = FpSpread1.SearchDialog
sd.SetCustomText("TextLabel", "Matched", "Bingo", "Alternate", "WC", "Test", "Forward", "Close", "Ooops")

Requirements

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

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.