Re: Displaying the contents of a text file

svein svensson
 

Hint :)

Svein


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DIM textLine$(600)
.
.
.
PROC_editbox(dlg%, "", 100, 160, 10, 500, 470, WS_VSCROLL + ES_MULTILINE + ES_READONLY)
.
.
.
FOR n% = 1 TO 600
text$+=textLine$(n%)+CHR$13+CHR$10
NEXT
SYS "SetDlgItemText", !dlg%, 100, text$
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Join bb4w@groups.io to automatically receive all group messages.