工具位置
- 运行时隐藏,编辑状态随意拖到哪里都可以
画面效果
方法
- show(objectname),
- setTimeFormat(objectname,type,datatimeformat),格式:type为下面的一种:datetime,date,time,month,hour. 时间格式缺省值:datetimeformat:YYYY-mm-dd hh:mm:ss
- getValue(objectname),返回当前选中的日期和时间字符串,示例:pkmobileswitch.getValue("switch1")
- setValue(objectname,value),设定当前选中的日期或时间字符串。示例:pkmobileswitch.setValue("switch1",1)
[
Unknown macro: {"data"},
Unknown macro: {"data"}]
专有事件
- onChange事件。当点击确定按钮时,触发onChange事件。参数:objectname,value。value为:YYYY-mm-dd hh:mm:ss格式的时间
专有动画关联
- 无
专有属性配置对话框
- 时间输入框类型:datetime,date,time,month,hour
- 时间格式: