举报
#include <GUIConstantsEx.au3> $GUI = GUICreate("", 320, 120) $Input = GUICtrlCreateInput("", 10, 35, 300, 20) GUISetState() While 1 $msg = GUIGetMsg() Switch $msg Case $GUI_EVENT_CLOSE Exit EndSwitch $t = GUICtrlRead($Input) If $t <> "" Then If StringRight($t, 1) <> "." And StringIsDigit(StringRight($t, 1)) = 0 Then GUICtrlSetData($Input, StringTrimRight($t, 1)) EndIf WEnd
laojikelly 发表于 2019-9-13 13:00
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-3-9 22:30 , Processed in 0.108135 second(s), 28 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.