aspose.cells

Class ComboBoxActiveXControl

Represents a ComboBox 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.
functiongetDropButtonStyle()
function
           Specifies the symbol displayed on the drop button The value of the property is DropButtonStyle integer constant.
functiongetEnterFieldBehavior()
function
           Specifies selection behavior when entering the control. True specifies that the selection remains unchanged from last time the control was active. False specifies that all the text in the control will be selected when entering 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.
functiongetHideSelection()
function
           Indicates whether selected text in the control appears highlighted when the control does not have focus.
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.
functionisAutoSize()
function
           Indicates whether the control will automatically resize to display its entire contents.
functionisAutoWordSelected()
function
           Specifies the basic unit used to extend a selection. True specifies that the basic unit is a single character. false specifies that the basic unit is a whole word.
functionisDragBehaviorEnabled()
function
           Indicates whether dragging and dropping is enabled for the control.
functionisEditable()
function
           Indicates whether the user can type into the control.
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.
functiongetListRows()
function
           Represents the maximum number of rows to display in the list.
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.
functiongetMaxLength()
function
           Gets and sets the maximum number of characters
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.
functiongetSelectionMargin()
function
           Indicates whether the user can select a line of text by clicking in the region to the left of the text.
functiongetShadow()
function
setShadow(value)
           Indicates whether to show a shadow.
functiongetShowColumnHeads()
function
           Indicates whether column headings are displayed.
functiongetShowDropButtonTypeWhen()
function
           Specifies the symbol displayed on the drop button The value of the property is ShowDropButtonType integer constant.
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.
      • getMaxLength/setMaxLength : Number 

        function getMaxLength() / function setMaxLength(value)
        
        Gets and sets the maximum number of characters
      • 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.
      • getListRows/setListRows : Number 

        function getListRows() / function setListRows(value)
        
        Represents the maximum number of rows to display in the list.
      • 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.
      • getDropButtonStyle/setDropButtonStyle : Number 

        function getDropButtonStyle() / function setDropButtonStyle(value)
        
        Specifies the symbol displayed on the drop button The value of the property is DropButtonStyle integer constant.
      • getShowDropButtonTypeWhen/setShowDropButtonTypeWhen : Number 

        function getShowDropButtonTypeWhen() / function setShowDropButtonTypeWhen(value)
        
        Specifies the symbol displayed on the drop button The value of the property is ShowDropButtonType 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.
      • 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.
      • isEditable/setEditable : boolean 

        function isEditable() / function setEditable(value)
        
        Indicates whether the user can type into the control.
      • getShowColumnHeads/setShowColumnHeads : boolean 

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

        function isDragBehaviorEnabled() / function setDragBehaviorEnabled(value)
        
        Indicates whether dragging and dropping is enabled for the control.
      • getEnterFieldBehavior/setEnterFieldBehavior : boolean 

        function getEnterFieldBehavior() / function setEnterFieldBehavior(value)
        
        Specifies selection behavior when entering the control. True specifies that the selection remains unchanged from last time the control was active. False specifies that all the text in the control will be selected when entering the control.
      • isAutoWordSelected/setAutoWordSelected : boolean 

        function isAutoWordSelected() / function setAutoWordSelected(value)
        
        Specifies the basic unit used to extend a selection. True specifies that the basic unit is a single character. false specifies that the basic unit is a whole word.
      • getSelectionMargin/setSelectionMargin : boolean 

        function getSelectionMargin() / function setSelectionMargin(value)
        
        Indicates whether the user can select a line of text by clicking in the region to the left of the text.
      • getValue/setValue : String 

        function getValue() / function setValue(value)
        
        Gets and sets the value of the control.
      • getHideSelection/setHideSelection : boolean 

        function getHideSelection() / function setHideSelection(value)
        
        Indicates whether selected text in the control appears highlighted when the control does not have focus.
      • 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.