Reflection Desktop VBA Guide
Attachmate.Reflection.Objects Library / Attachmate.Reflection.Objects.Productivity Library / AutoComplete Object / ClearSuggestions Method
Example
In This Topic
ClearSuggestions Method
In This Topic
Removes all previous session suggestion data.
Syntax
expression.ClearSuggestions() 
where expression is a variable that represents a AutoComplete Object
Example
This example configures the Auto Complete tool.
Sub ConfigureAutoComplete()
    Dim auto As AutoComplete
    
    'Get the AutoComplete object
    Set auto = ThisIbmTerminal.Productivity.AutoComplete
    
    'Clear all suggestions that are currently defined
    auto.ClearSuggestions
      
    'Set the maximum word length
    auto.MaxWordLength = 54
    
    'Enable Auto Complete
    auto.Enabled = True
    
End Sub
See Also