Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running text
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
01567113
Message ID:
01567118
Views:
62
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform