Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SpreadActions Class / ComboShowList Field
Example


In This Topic
    ComboShowList Field
    In This Topic
    Displays the combo box list of the current cell.
    Syntax
    'Declaration
     
    Public Shared ReadOnly ComboShowList As Object
    'Usage
     
    Dim value As Object
     
    value = SpreadActions.ComboShowList
    public static readonly object ComboShowList
    Example
    This example sets up a map that uses the L key to show the list of a combo box.
    FarPoint.Win.Spread.InputMap im;
    im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
    im.Put(new FarPoint.Win.Spread.Keystroke(Keys.L, Keys.None), FarPoint.Win.Spread.SpreadActions.ComboShowList);
    
    Dim im As FarPoint.Win.Spread.InputMap
    im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused)
    im.Put(New FarPoint.Win.Spread.Keystroke(Keys.L, Keys.None), FarPoint.Win.Spread.SpreadActions.ComboShowList)
    
    Remarks

    This action displays the list of a combo box.

    You can use this action along with a custom key combination by defining your own input or action map. For more information about maps, see Managing Keyboard Interactions.

    See Also