Spread Windows Forms 12.0 Product Documentation
SetCustomTextToDefaults Method (AdvancedSearchDialog)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > AdvancedSearchDialog Class : SetCustomTextToDefaults Method
Sets the custom text in the form to default values.
Syntax
'Declaration
 
Public Overrides Sub SetCustomTextToDefaults() 
'Usage
 
Dim instance As AdvancedSearchDialog
 
instance.SetCustomTextToDefaults()
public override void SetCustomTextToDefaults()
Remarks
This method resets the custom text in the advanced search form to default values.
Example
This example customizes the advanced search dialog.
FarPoint.Win.Spread.AdvancedSearchDialog sd; 
fpSpread1.SearchWithDialogAdvanced("Test"); 
sd = fpSpread1.SearchDialog; 
sd.SetCustomTextToDefaults(); 
sd.StartSheetIndex = 0; 
sd.EndSheetIndex = 0; 
sd.SearchCellText = true; 
sd.SearchNotes = true; 
sd.SearchTags = true;
Dim sd As FarPoint.Win.Spread.AdvancedSearchDialog
fpSpread1.SearchWithDialogAdvanced("Test")
sd = fpSpread1.SearchDialog
sd.SetCustomTextToDefaults()
sd.StartSheetIndex = 0
sd.EndSheetIndex = 0
sd.SearchCellText = True
sd.SearchNotes = True
sd.SearchTags = True
See Also

Reference

AdvancedSearchDialog Class
AdvancedSearchDialog Members
SetCustomText Method