Guidance
指路人
g.yi.org
software / rapidq / examples / GUI / StatusBar / QStatusBar.bas

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

  
'From:  "taplang" <wasaywasay@e...> Sun Nov 10, 2002  10:53 am
'Subject:  Re: statusbar & qtimer....

     DECLARE SUB updatetimer

     CREATE time AS QTIMER
      ontimer = updatetimer
      interval = 100
     END CREATE

     CREATE form AS QFORM
      CREATE statusbar AS QSTATUSBAR
       addpanels "Current date: " + DATE$, "Current time: " + TIME$
       panel(0).width = 130
       panel(1).width = 3000
      END CREATE
      SHOWMODAL
     END CREATE

     SUB updatetimer
      statusbar.panel(1).CAPTION = "Current time: " + TIME$
     END SUB
掌柜推荐
 
 
¥918.00 ·
 
 
¥738.00 ·
 
 
¥1,580.00 ·
 
 
¥920.00 ·
 
 
¥296.00 ·
 
 
¥890.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2013-06-19 07:48:51