1. Output help!

--------------------------------
Help!

I was wondering if I can take a file, read it in, assign it to a
variable, make all "\n"'s
to &10& so that Windows can interpret it properly, and if (you) can show

me the routine to add to the already there WINDOW.EXW.

Plus, does WINDOW.EXW already support scrollbars?

Thanx!

- "LEVIATHAN"

new topic     » topic index » view message » categorize

2. Re: Output help!

Bonn Ortloff ("LEVIATHAN") wrote:

>I was wondering if I can take a file, read it in, assign it to a
>variable, make all "\n"'s
>to &10& so that Windows can interpret it properly, and if (you) can show
>me the routine to add to the already there WINDOW.EXW.

You might want to take a look at Win32Lib. One of the included demos is
GENERIC.EXW, a small text editor. It reads and writes text files (limited to
32K), and uses an MLE (Multi-Line Edit) with scroll bars.

-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

3. Re: Output help!

David Cuny wrote:

> Bonn Ortloff ("LEVIATHAN") wrote:
>
> >I was wondering if I can take a file, read it in, assign it to a
> >variable, make all "\n"'s
> >to &10& so that Windows can interpret it properly, and if (you) can show
> >me the routine to add to the already there WINDOW.EXW.
>
> You might want to take a look at Win32Lib. One of the included demos is
> GENERIC.EXW, a small text editor. It reads and writes text files (limited to
> 32K), and uses an MLE (Multi-Line Edit) with scroll bars.
>
> -- David Cuny

  Is there some way to edit it beyond the 32k limit?

- "LEVIATHAN"

new topic     » goto parent     » topic index » view message » categorize

4. Re: Output help!

Bonn Ortloff ("LEVIATHAN") wrote:

>  Is there some way to edit [SLEs in Win32Lib] beyond the 32k limit?

Pete has written an editor that uses the Rich Text control. It's one of the
common controls. As far as I l know, there is no limit to the amount of text
that can go into one of those controls. Just take a look at Pete's editor on
the Euphoria Web page. Win32Lib will eventually support those controls, but
it's on hold while I work on getting the next demo of WinMan out (real soon
now, I hope).

The other way around it is to write your own edit control - another
"someday" goal for Win32Lib, for supporting syntax coloring and the like.

-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu