Reflection Desktop VBA Guide
Attachmate.Reflection.Objects Library / Attachmate.Reflection.Objects.Productivity Library / AutoComplete Object / MaxWordLength Property
Example
In This Topic
    MaxWordLength Property (AutoComplete)
    In This Topic
    Gets or sets the maximum length of words that can potentially be auto-completed. Longer words are ignored by Auto Complete. The range of valid values is 20-200 characters.
    Syntax
    expression.MaxWordLength As Integer
    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