ApiComboBoxForm
表示 ApiComboBoxForm 类。
方法
| 方法 | 返回值 | 描述 |
|---|---|---|
| Clear | boolean | 清除当前表单。 |
| Copy | ApiForm | 复制当前表单(如果存在形状,则连同形状一起复制)。 |
| Delete | boolean | 删除表单及其内容。如果 keepContent 为 true,则不删除内容。 |
| GetBackgroundColor | ApiColor | 返回当前表单的背景颜色。 |
| GetBorderColor | ApiColor | 返回当前表单的边框颜色。 |
| GetClassType | "comboBoxForm" | 返回 ApiComboBoxForm 类的类型。 |
| GetFormKey | string | 返回当前表单的键。 |
| GetFormType | FormType | 返回当前表单的类型。 |
| GetInternalId | string | 返回当前表单的内部 ID。 |
| GetListValues | string[] | 返回当前组合框的列表值。 |
| GetLock | boolean | 返回当前表单的锁定状态。 |
| GetPlaceholderText | string | 返回当前表单的占位符文本。 |
| GetRole | string | 返回当前表单的角色。 |
| GetTag | string | 返回当前表单的标签属性。 |
| GetText | string | 返回当前表单中的文本。 |
| GetTextPr | ApiTextPr | 返回当前表单的文本属性。如果该表单类型支持则使用 |
| GetTipText | string | 返回当前表单的提示文本。 |
| GetWrapperShape | ApiShape | 返回放置表单的形状,用于控制固定大小表单框架的位置和大小。对于内联表单将返回 null 值。 |
| IsEditable | boolean | 检查组合框文本是否可编辑。如果不可编辑,则此表单为下拉列表。 |
| IsFixed | boolean | 检查当前表单是否为固定大小。 |
| IsRequired | boolean | 检查当前表单是否为必填项。 |
| MoveCursorOutside | boolean | 将光标放置在当前表单之前/之后。 |
| SelectListValue | boolean | 从组合框列表值中选择指定的值。 |
| SetBackgroundColor | boolean | 设置当前表单的背景颜色。 |
| SetBorderColor | boolean | 设置当前表单的边框颜色。 |
| SetFormKey | boolean | 为当前表单设置键。 |
| SetListValues | boolean | 设置当前组合框的列表值。 |
| SetLock | boolean | 设置当前表单的锁定状态。 |
| SetPlaceholderText | boolean | 设置当前表单的占位符文本。不能设置为复选框或单选按钮。 |
| SetRequired | boolean | 指定当前表单是否为必填项。 |
| SetRole | boolean | 为当前表单设置角色。 |
| SetTag | boolean | 为当前表单设置标签属性。 |
| SetText | boolean | 设置当前组合框的文本。仅适用于可编辑的组合框表单。 |
| SetTextPr | boolean | 设置当前表单的文本属性。如果该表单类型支持则使用 |
| SetTipText | boolean | 设置当前表单的提示文本。 |
| ToFixed | boolean | 将当前表单转换为固定大小的表单。 |
| ToInline | boolean | 将当前表单转换为内联表单。图片表单无法转换为内联表单,它始终是固定大小的对象。 |