CommandButtonActiveXControl类

CommandButtonActiveXControl类

代表一个命令按钮。

继承: CommandButtonActiveXControl

CommandButtonActiveXControl 类型公开以下成员:

属性

属性描述
workbook
type获取 ActiveX 控件的类型。
width
height
mouse_icon
mouse_pointer
fore_ole_color
back_ole_color
is_visible
shadow
linked_cell
list_fill_range
data
is_enabled
is_locked
is_transparent
is_auto_size
ime_mode
font
text_align
caption获取并设置控件上显示的描述性文本。
picture_position获取并设置控件图片相对于其标题的位置。
picture获取和设置图片的数据。
accelerator获取并设置控件的加速键。
take_focus_on_click指示单击时控件是否获得焦点。
is_word_wrapped指示控件的内容是否在行末自动换行。

也可以看看