|
发表于 2009-6-5 05:44:33
|
显示全部楼层
本帖最后由 jevonleen 于 2009-6-5 15:13 编辑
可是为什么我在用了这两个样式后,DATE控件和INPUT控件老是不断闪动呢?请指点!谢谢!
…………
$Radio4 = GUICtrlCreateRadio("使用天数", 20, 132, 65, 16)
$Radio2 = GUICtrlCreateRadio("使用时间", 20, 109, 65, 16)
$Radio1 = GUICtrlCreateRadio("使用期限", 20, 86, 65, 16)
$Input2 = GUICtrlCreateInput("", 85, 131, 30, 18,$ES_NUMBER)
$Input3 = GUICtrlCreateInput("", 85, 108, 30, 18,$ES_NUMBER)
$Year = @YEAR
$Moth = @MON
$Date = @MDAY
$Time = @YEAR & @MON & @MDAY
$Date1 = GUICtrlCreateDate($Time, 90, 85, 87, 18)
…………
Case $Radio1
If GUICtrlRead($Radio1) = $GUI_UNCHECKED Then
GUICtrlSetState($Date1, $GUI_ENABLE)
Else
GUICtrlSetState($Date1, $GUI_DISABLE)
EndIf
………… |
|