Reflection Desktop VBA Guide
Attachmate.Reflection.Objects Library / Attachmate.Reflection.Objects.Productivity Library / Productivity Object / AutoExpand Property
Example
In This Topic
    AutoExpand Property
    In This Topic
    Gets the AutoExpand object, which holds configuration properties, methods, and events for the Auto Expand Productivity feature.  
    Syntax
    expression.AutoExpand As AutoExpand object 
    where expression is a variable that represents a Productivity Object

    Property Value

    An AutoExpand objectAn AutoExpand Object.
    Example
    This example adds a definition to the Auto Expand tool.
    Sub AddEntryToAutoExpand()
        Dim auto As AutoExpand
        
        'Get the autoExpand object
        Set auto = ThisIbmTerminal.Productivity.AutoExpand
        
        If auto.ContainsEntry("hcdt") = False Then
        
            'Add an Auto Expand definition entry
            auto.AddEntry "hcdt", "Hydrochlorothiazide"
            
        End If
        
    End Sub
    See Also