请问在VB中怎么在状态控件StatusBar中设置时间日期之类的?

2024-12-21 19:42:37
推荐回答(2个)
回答1:

sub form_load()
Me.StatusBar1.Panels(1).Text = Now
end sub

回答2:

vb6.0:
private sub timer1_timer()
StatusBar1.Panels(1).Text = date & time
end sub