I would like to write many lines of text into a window and then to scroll.
Is scrolling automatically or do I have to programm?
Thanks in advance
Otto
static oWnd
function Main()
DEFINE WINDOW oWnd from 1,1 TO 30,60 TITLE "Kontoauszug";
VSCROLL;
MENU bldMenu()
ACTIVATE WINDOW oWnd
return nil
function bldMenu()
LOCAL oMenu
set exclusive off
MENU oMenu
MENUITEM "Start" ;
ACTION f_code()
ENDMENU
return oMenu
func f_code
LOCAL nRow1 := 0
local hVert := 25
local planfont
Local I:=0
local oSay
DEFINE FONT planFont NAME "Arial" SIZE 6,22
FOR I := 1 TO 100
nRow1 := nRow1 + hVert
* Line( nTop nLeft nBottom nRight
oWnd:say( nRow1+2, 1, "TEST",255,16777215,planFont,.T.)
NEXT
RETURN NIL