跳到主要内容

ApiDateForm

ApiDateForm 是 ApiFormBase 的子类。

方法

方法返回值描述
Clearboolean清除当前表单。
CopyApiForm复制当前表单(如果存在形状,则连同形状一起复制)。
Deleteboolean删除表单及其内容。如果 keepContent 为 true,则不删除内容。
GetBackgroundColorApiColor返回当前表单的背景颜色。
GetBorderColorApiColor返回当前表单的边框颜色。
GetClassType"dateForm"返回 ApiDateForm 类的类型。
GetDateundefined | Date返回当前表单的日期。
GetFormKeystring返回当前表单的键。
GetFormTypeFormType返回当前表单的类型。
GetFormatstring获取当前表单的日期格式。
GetInternalIdstring返回当前表单的内部 ID。
GetLanguagestring获取当前表单使用的日期语言。
GetLockboolean返回当前表单的锁定状态。
GetPlaceholderTextstring返回当前表单的占位符文本。
GetRolestring返回当前表单的角色。
GetTagstring返回当前表单的标签属性。
GetTextstring返回当前表单中的文本。
GetTextPrApiTextPr返回当前表单的文本属性。
GetTimeundefined | number返回当前表单的时间戳。
GetTipTextstring返回当前表单的提示文本。
GetValueDate | undefined返回当前表单的日期。
GetWrapperShapeApiShape返回放置表单的形状,用于控制固定大小表单框架的位置和大小。
IsFilledboolean检查当前表单是否已填写。
IsFixedboolean检查当前表单是否为固定大小。
IsRequiredboolean检查当前表单是否为必填项。
MoveCursorOutsideboolean将光标放置在当前表单之前/之后。
SetBackgroundColorboolean设置当前表单的背景颜色。
SetBorderColorboolean设置当前表单的边框颜色。
SetDateboolean设置当前表单的日期。
SetFormKeyboolean为当前表单设置键。
SetFormatboolean设置当前表单的日期格式。
SetLanguageboolean设置当前表单的日期语言。
SetLockboolean设置当前表单的锁定状态。
SetPlaceholderTextboolean为当前表单设置占位符文本。
SetRequiredboolean指定当前表单是否为必填项。
SetRoleboolean为当前表单设置角色。
SetTagboolean为当前表单设置标签属性。
SetTextPrboolean为当前表单设置文本属性。
SetTimeboolean设置当前表单的时间戳。
SetTipTextboolean设置当前表单的提示文本。
SetValueboolean设置当前表单的日期。
ToFixedboolean将当前表单转换为固定大小的表单。
ToInlineboolean将当前表单转换为内联表单。