asposecells.api

Class ListBoxActiveXControl

Represents a ListBox ActiveX control.

Property Getters/Setters Summary
methodgetBackOleColor()
method
           Gets and sets the ole color of the background.
methodgetBorderOleColor()
method
           Gets and sets the ole color of the background.
methodgetBorderStyle()
method
           Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant.
methodgetBoundColumn()
method
           Represents how the Value property is determined for a ComboBox or ListBox when the MultiSelect properties value (fmMultiSelectSingle).
methodgetColumnCount()
method
           Represents the number of columns to display in a ComboBox or ListBox.
methodgetColumnWidths()
method
           Gets and sets the width of the column.
methodgetData()
Gets and sets the binary data of the control.
methodgetFont()
Represents the font of the control.
methodgetForeOleColor()
method
           Gets and sets the ole color of the foreground.
methodgetHeight()
method
setHeight(value)
           Gets and sets the height of the control in unit of points.
methodgetIMEMode()
method
setIMEMode(value)
           Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of the property is InputMethodEditorMode integer constant.
methodgetIntegralHeight()
method
           Indicates whether the control will only show complete lines of text without showing any partial lines.
methodisAutoSize()
method
           Indicates whether the control will automatically resize to display its entire contents.
methodisEnabled()
method
setEnabled(value)
           Indicates whether the control can receive the focus and respond to user-generated events.
methodisLocked()
method
setLocked(value)
           Indicates whether data in the control is locked for editing.
methodisTransparent()
method
           Indicates whether the control is transparent.
methodisVisible()
method
setVisible(value)
           Indicates whether this control is visible.
methodgetLinkedCell()
method
           Gets and sets the linked cell.
methodgetListFillRange()
method
           Gets and sets the list fill range.
methodgetListStyle()
method
           Gets and sets the visual appearance. The value of the property is ControlListStyle integer constant.
methodgetListWidth()
method
           Gets and set the width in unit of points.
methodgetMatchEntry()
method
           Indicates how a ListBox or ComboBox searches its list as the user types. The value of the property is ControlMatchEntryType integer constant.
methodgetMouseIcon()
method
           Gets and sets a custom icon to display as the mouse pointer for the control.
methodgetMousePointer()
method
           Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMousePointerType integer constant.
methodgetScrollBars()
method
           Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither. The value of the property is ControlScrollBarType integer constant.
methodgetSelectionType()
method
           Indicates whether the control permits multiple selections. The value of the property is SelectionType integer constant.
methodgetShadow()
method
setShadow(value)
           Indicates whether to show a shadow.
methodgetShowColumnHeads()
method
           Indicates whether column headings are displayed.
methodgetSpecialEffect()
method
           Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.
methodgetTextAlign()
method
           Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.
methodgetTextColumn()
method
           Represents the column in a ComboBox or ListBox to display to the user.
methodgetType()
Gets the type of the ActiveX control. The value of the property is ControlType integer constant.
methodgetValue()
method
setValue(value)
           Gets and sets the value of the control.
methodgetWidth()
method
setWidth(value)
           Gets and sets the width of the control in unit of points.
methodgetWorkbook()
Gets the Workbook object.
 

    • Property Getters/Setters Detail

      • getType : int 

        int getType()
        
        Gets the type of the ActiveX control. The value of the property is ControlType integer constant.
      • getScrollBars/setScrollBars : int 

        int getScrollBars() / setScrollBars(value)
        
        Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither. The value of the property is ControlScrollBarType integer constant.
      • getListWidth/setListWidth : float 

        float getListWidth() / setListWidth(value)
        
        Gets and set the width in unit of points.
      • getBoundColumn/setBoundColumn : int 

        int getBoundColumn() / setBoundColumn(value)
        
        Represents how the Value property is determined for a ComboBox or ListBox when the MultiSelect properties value (fmMultiSelectSingle).
      • getTextColumn/setTextColumn : int 

        int getTextColumn() / setTextColumn(value)
        
        Represents the column in a ComboBox or ListBox to display to the user.
      • getColumnCount/setColumnCount : int 

        int getColumnCount() / setColumnCount(value)
        
        Represents the number of columns to display in a ComboBox or ListBox.
      • getMatchEntry/setMatchEntry : int 

        int getMatchEntry() / setMatchEntry(value)
        
        Indicates how a ListBox or ComboBox searches its list as the user types. The value of the property is ControlMatchEntryType integer constant.
      • getListStyle/setListStyle : int 

        int getListStyle() / setListStyle(value)
        
        Gets and sets the visual appearance. The value of the property is ControlListStyle integer constant.
      • getSelectionType/setSelectionType : int 

        int getSelectionType() / setSelectionType(value)
        
        Indicates whether the control permits multiple selections. The value of the property is SelectionType integer constant.
      • getValue/setValue : String 

        String getValue() / setValue(value)
        
        Gets and sets the value of the control. Only effects when SelectionType is SelectionType.Single;
      • getBorderStyle/setBorderStyle : int 

        int getBorderStyle() / setBorderStyle(value)
        
        Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant.
      • getBorderOleColor/setBorderOleColor : int 

        int getBorderOleColor() / setBorderOleColor(value)
        
        Gets and sets the ole color of the background.
      • getSpecialEffect/setSpecialEffect : int 

        int getSpecialEffect() / setSpecialEffect(value)
        
        Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.
      • getShowColumnHeads/setShowColumnHeads : boolean 

        boolean getShowColumnHeads() / setShowColumnHeads(value)
        
        Indicates whether column headings are displayed.
      • getIntegralHeight/setIntegralHeight : boolean 

        boolean getIntegralHeight() / setIntegralHeight(value)
        
        Indicates whether the control will only show complete lines of text without showing any partial lines.
      • getColumnWidths/setColumnWidths : float 

        float getColumnWidths() / setColumnWidths(value)
        
        Gets and sets the width of the column.
      • isEnabled/setEnabled : boolean 

        boolean isEnabled() / setEnabled(value)
        
        Indicates whether the control can receive the focus and respond to user-generated events.
      • isLocked/setLocked : boolean 

        boolean isLocked() / setLocked(value)
        
        Indicates whether data in the control is locked for editing.
      • isTransparent/setTransparent : boolean 

        boolean isTransparent() / setTransparent(value)
        
        Indicates whether the control is transparent.
      • isAutoSize/setAutoSize : boolean 

        boolean isAutoSize() / setAutoSize(value)
        
        Indicates whether the control will automatically resize to display its entire contents.
      • getIMEMode/setIMEMode : int 

        int getIMEMode() / setIMEMode(value)
        
        Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of the property is InputMethodEditorMode integer constant.
      • getFont : Font 

        Font getFont()
        
        Represents the font of the control.
      • getTextAlign/setTextAlign : int 

        int getTextAlign() / setTextAlign(value)
        
        Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.
      • getData : byte[] 

        byte[] getData()
        
        Gets and sets the binary data of the control.
      • getWidth/setWidth : float 

        float getWidth() / setWidth(value)
        
        Gets and sets the width of the control in unit of points.
      • getHeight/setHeight : float 

        float getHeight() / setHeight(value)
        
        Gets and sets the height of the control in unit of points.
      • getMouseIcon/setMouseIcon : byte[] 

        byte[] getMouseIcon() / setMouseIcon(value)
        
        Gets and sets a custom icon to display as the mouse pointer for the control.
      • getMousePointer/setMousePointer : int 

        int getMousePointer() / setMousePointer(value)
        
        Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMousePointerType integer constant.
      • getForeOleColor/setForeOleColor : int 

        int getForeOleColor() / setForeOleColor(value)
        
        Gets and sets the ole color of the foreground. Not applies to Image control.
      • getBackOleColor/setBackOleColor : int 

        int getBackOleColor() / setBackOleColor(value)
        
        Gets and sets the ole color of the background.
      • isVisible/setVisible : boolean 

        boolean isVisible() / setVisible(value)
        
        Indicates whether this control is visible.
      • getShadow/setShadow : boolean 

        boolean getShadow() / setShadow(value)
        
        Indicates whether to show a shadow.
      • getLinkedCell/setLinkedCell : String 

        String getLinkedCell() / setLinkedCell(value)
        
        Gets and sets the linked cell.
      • getListFillRange/setListFillRange : String 

        String getListFillRange() / setListFillRange(value)
        
        Gets and sets the list fill range.