Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running text
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
01567113
Message ID:
01567118
Vues:
63
>how can I make running text on the screen?
>
>thanks for the help
>
>Jerry
SET ESCAPE ON

ON ESCAPE CANCEL

lotmr=CREATEOBJECT("_tmrRT")
lotmr.Enabled=.T.

READ EVENTS


DEFINE CLASS _tmrRT AS Timer
  Name='_tmrRT'
  Enabled=.F.
  Interval=250

  cText="Běží liška k táboru nese pytel zázvoru. Ježek za ní pospíchá, že jí pytel rozpíchá. Běž zajíčku, běž za ní pober jí to koření. Liška se mu schovala, ještě se mu vysmála." 
  nIndex=1
    
  
  
  PROCEDURE Timer
    @ 1,1  SAY PADR(SUBSTR(This.cText,This.nIndex,50),100)
    This.nIndex=This.nIndex+1
    IF This.nIndex=LEN(This.cText)
       This.nIndex=1
       This.Enabled=.F.
       CLEAR EVENTS
    ENDIF
  ENDPROC 
ENDDEFINE
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform