Guidance
指路人
g.yi.org
software / rapidq / examples / Network / qmeteo / qmeteo.bas

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
     $INCLUDE "RAPIDQ.INC"
     $INCLUDE "meteo.rqb"

     DECLARE SUB Start
     DECLARE SUB CloseSplashForm
     DECLARE SUB DisplaySplashForm
     $RESOURCE splash AS "gfx\splash.bmp"

     CONST Max = 200000
     CREATE SplashTimer AS QTIMER
      interval=1
      ontimer=DisplaySplashForm
      enabled=1
     END CREATE

     CREATE SplashForm AS QFORM
      CAPTION = "SplashForm"
      Width = 400
      Height = 120
      borderstyle=0
      COLOR=&Hffffff
      Center
      CREATE label2 AS QLABEL
       width=144
       height=15
       top=SplashForm.height/2-label2.height/2
       left=SplashForm.width/2-label2.width/2
       Alignment = 2
      END CREATE
      CREATE Gauge AS QGAUGE
       Height = 20
       Max = Max
       Align = 2
       kind=1
       ForeColor=&HFF6666
       BackColor=&Hffffff
       ShowText=0
      END CREATE
      CREATE imagea AS QIMAGE
       bmphandle=splash
       autosize=1
      END CREATE
     END CREATE

     SplashFOrm.SHOWMODAL

     SUB DisplaySplashForm
      SplashForm.Show
      SplashTimer.Interval=4000
      SplashTimer.OnTimer=CloseSplashForm


      FOR A = 1 TO Max
       DOEVENTS
       Gauge.Position = A
      NEXT
     END SUB

     SUB CloseSplashForm
      SplashForm.visible=false
      form.visible=true

     END SUB

掌柜推荐
 
 
¥738.00 ·
 
 
¥1,480.00 ·
 
 
¥397.00 ·
 
 
¥950.00 ·
 
 
¥264.00 ·
 
 
¥1,005.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2013-06-19 07:49:39