citect2018进入页面时,date and time picker显示当前日期
时间:2021-03-16 11:45:27
收藏:0
阅读:0
比如页面上有一个date and time picker控件,符号为main_AN20.新建一个citectVBA程序段
Sub SetDate()
main_AN20.value=cdate(now())
End Sub
页面的进入页面事件写下面的代码
VbCallRun(VbCallOpen("setdate"))
保存编译,进入页面就会自动的八日起调整为当前日期了
评论(0)