从日历框视图中删除时间你好,
我有一个 JSL 代码,要求用户通过日历框指定时间间隔。 我的代码运行良好,我只希望能够抑制之后对我没有用的时间的显示。 是否可以 ?

dt1=Today(),
dt2=Today(),
HListBox(
PanelBox( "From Time", scal = Calendar Box(SetFunction(Function({this}, date1=scal<< Get Date) ))),
spacerbox(Size(20,20)),
PanelBox( "To Time", ecal = Calendar Box(SetFunction(Function({this}, date2=ecal<< Get Date) )))
)
预先感谢您的回答!
脚本编写Re: Supprimer l'heure de l'affichage Calendar Box我能够使用下面的脚本更改不需要的对象的可见性

dt1 = Today();
dt2 = Today();
nw = New Window( "test",
H List Box(
Panel Box( "From Time",
scal = Calendar Box( SetFunction( Function( {this}, date1 = scal << Get Date ) ) )
),
Spacer Box( Size( 20, 20 ) ),
Panel Box( "To Time",
ecal = Calendar Box( SetFunction( Function( {this}, date2 = ecal << Get Date ) ) )
)
)
);
nw[Text Box( 16 )] << visibility( collapse );
nw[Text Box( 8 )] << visibility( collapse );
nw[Number Edit Box( 4 )] << visibility( collapse );
nw[Number Edit Box( 2 )] << visibility( collapse );
回复:从日历框显示中删除时间它工作得很好,非常感谢!
Re: Supprimer l'heure de l'affichage Calendar Box你可能还喜欢使用日历框选择日期范围它将两个框连接在一起,强制返回日期为午夜,并使用 <