Reflection Desktop VBA Guide
Attachmate.Reflection.Objects Library / Attachmate.Reflection.Objects.Productivity Library / AutoComplete Object / Enabled Property
Example
In This Topic
    Enabled Property (AutoComplete)
    In This Topic
    Gets or sets whether Auto Complete is enabled in the session.
    Syntax
    expression.Enabled As Boolean
    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