⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ftimer.class

📁 Gambas is a graphical development environment based on a Basic interpreter, like Visual Basic. It us
💻 CLASS
字号:
' Gambas class fileSTATIC PUBLIC SUB Main()  DIM myForm AS Form  myForm= NEW fTimer  myForm.Show  ENDPUBLIC SUB Button1_Click()  Timer1.Delay=CInt(TextBox1.Text)  Timer1.Enabled=TRUEENDPUBLIC SUB Timer1_Timer()  Label1.Background=&HFF0000&ENDPUBLIC SUB Button2_Click()  Timer1.Enabled=FALSE    'try without this line  Label1.Background=&HDCDCDC&ENDPUBLIC SUB ToggleButton1_Click()  IF ToggleButton1.Value=TRUE THEN  Timer2.Delay=CInt(TextBox2.Text)  'low  Timer3.Delay=CInt(TextBox3.Text)  'high  Timer2.Enabled=TRUE  ELSE  Timer2.Enabled=FALSE  Timer3.Enabled=FALSE  ENDIFENDPUBLIC SUB Timer2_Timer()  Label5.Background=&HFF0000&  Timer3.Enabled=TRUE  Timer2.Enabled=FALSEENDPUBLIC SUB Timer3_Timer()  Label5.Background=&H00FF00&  Timer2.Enabled=TRUE  Timer3.Enabled=FALSE  END

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -