aspose.cells

Class ListBoxActiveXControl

Represents a ListBox ActiveX control.

Property Getters/Setters Summary
functiongetBackOleColor()
function
           Gets and sets the ole color of the background.
functiongetBorderOleColor()
function
           Gets and sets the ole color of the background.
functiongetBorderStyle()
function
           Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant.
functiongetBoundColumn()
function
           Represents how the Value property is determined for a ComboBox or ListBox when the MultiSelect properties value (fmMultiSelectSingle).
functiongetColumnCount()
function
           Represents the number of columns to display in a ComboBox or ListBox.
functiongetColumnWidths()
function
           Gets and sets the width of the column.
functiongetData()
Gets and sets the binary data of the control.
functiongetFont()
Represents the font of the control.
functiongetForeOleColor()
function
           Gets and sets the ole color of the foreground.
functiongetHeight()
function
setHeight(value)
           Gets and sets the height of the control in unit of points.
functiongetIMEMode()
function
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.
functiongetIntegralHeight()
function
           Indicates whether the control will only show complete lines of text without showing any partial lines.
functionisAutoSize()
function
           Indicates whether the control will automatically resize to display its entire contents.
functionisEnabled()
function
setEnabled(value)
           Indicates whether the control can receive the focus and respond to user-generated events.
functionisLocked()
function
setLocked(value)
           Indicates whether data in the control is locked for editing.
functionisTransparent()
function
           Indicates whether the control is transparent.
functionisVisible()
function
setVisible(value)
           Indicates whether this control is visible.
functiongetLinkedCell()
function
           Gets and sets the linked cell.
functiongetListFillRange()
function
           Gets and sets the list fill range.
functiongetListStyle()
function
           Gets and sets the visual appearance. The value of the property is ControlListStyle integer constant.
functiongetListWidth()
function
           Gets and set the width in unit of points.
functiongetMatchEntry()
function
           Indicates how a ListBox or ComboBox searches its list as the user types. The value of the property is ControlMatchEntryType integer constant.
functiongetMouseIcon()
function
           Gets and sets a custom icon to display as the mouse pointer for the control.
functiongetMousePointer()
function
           Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMousePointerType integer constant.
functiongetScrollBars()
function
           Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither. The value of the property is ControlScrollBarType integer constant.
functiongetSelectionType()
function
           Indicates whether the control permits multiple selections. The value of the property is SelectionType integer constant.
functiongetShadow()
function
setShadow(value)
           Indicates whether to show a shadow.
functiongetShowColumnHeads()
function
           Indicates whether column headings are displayed.
functiongetSpecialEffect()
function
           Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.
functiongetTextAlign()
function
           Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.
functiongetTextColumn()
function
           Represents the column in a ComboBox or ListBox to display to the user.
functiongetType()
Gets the type of the ActiveX control. The value of the property is ControlType integer constant.
functiongetValue()
function
setValue(value)
           Gets and sets the value of the control.
functiongetWidth()
function
setWidth(value)
           Gets and sets the width of the control in unit of points.
functiongetWorkbook()
Gets the Workbook object.
 

    • Property Getters/Setters Detail

      • getType : Number 

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

        function getScrollBars() / function 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 : Number 

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

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

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

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

        function getMatchEntry() / function 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 : Number 

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

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

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

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

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

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

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

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

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

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

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

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

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

        function getIMEMode() / function 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 

        function getFont()
        
        Represents the font of the control.
      • getTextAlign/setTextAlign : Number 

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

        function getData()
        
        Gets and sets the binary data of the control.
      • getWidth/setWidth : Number 

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

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

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

        function getMousePointer() / function 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 : Number 

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

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

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

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

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

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