FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > SearchDialog クラス > SetCustomText メソッド : SetCustomText(String,String,String,String,String,String,String,String,String,String) メソッド |
'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, _ ByVal repeatSearchText As String _ )
'使用法 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 Dim repeatSearchText As String instance.SetCustomText(findTextLabel, matchCaseLabel, exactMatchLabel, alternateSearchLabel, useWildcardsLabel, findText, findNextText, closeText, notFoundText, repeatSearchText)
public virtual void SetCustomText( string findTextLabel, string matchCaseLabel, string exactMatchLabel, string alternateSearchLabel, string useWildcardsLabel, string findText, string findNextText, string closeText, string notFoundText, string repeatSearchText )
FarPoint.Win.Spread.SearchDialog sd; fpSpread1.SearchWithDialog("Test"); sd = fpSpread1.SearchDialog; sd.SetCustomText("TextLabel", "Matched", "Bingo", "Alternate", "WC", "Test", "Forward", "Close", "Ooops", "Again");
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", "Again")