Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.IbmHosts Library / Attachmate.Reflection.Objects.Emulation.IbmHosts Library / MouseMapper Object / RemoveMapping Method
A MouseButtonCombination object that has the mouse/key combination to remove the mapping for.
Example
In This Topic
    RemoveMapping Method (MouseMapper)
    In This Topic
    Removes a mouse mapping from the mouse map.
    Syntax
    expression.RemoveMapping( _
       ByVal mapping As MouseButtonCombination _
    ) 
    where expression is a variable that represents a MouseMapper Object

    Parameters

    mapping
    A MouseButtonCombination object that has the mouse/key combination to remove the mapping for.
    Example
    This sample removes a mouse wheel mapping from the mouse map.
    Public Sub RemoveMouseMappingAction()
       
        Dim combo As MouseButtonCombination
     
        Set combo = New MouseButtonCombination
       
        'Set the mouse button combination to remove from the map
        combo.WheelDirection = MouseWheelDirection_WheelDown
     
        'Remove the mapping from the mouse map
        ThisIbmTerminal.MouseMapper.RemoveMapping combo
        
    End Sub
    See Also