Hej Matheas!
Tirsdag 01. Oktober 1996 kl.14:42 skrev Matheas Manssen til Ole Almind
Mortensen:
MM> Doesn't seem to much work to program. ;)
Hmm.. well that depends on what program you are trying to create. I'm right
now trying to create a Filemanager, and I'm almost finished, but I have been
working on the project for about 6 month.
MM>>> How do I start with zero pages, how do I create a new page or delete a
MM>>> page, with freeing up the used memory?
OAM>> If I'm not completly mistaken, you are trying to create a texteditor.
MM> Yes!
MM> I would like to how to get each Memo on a different page. So, I
MM> create a new page, and a new TMemo, and then I have to do something
MM> to get link the new memo with the new page, but how?
Allright here we go:
Here is what I did.
1. I created a limit of 5 open documents at a time.
2. I created a menu where the user can switch between the five documents.
3. I created the TRichedit at Runtime, so that I could free them when they
wasn't needed.
4. When I created a new TRichedit I used Hide to make the last one invisible.
Thats about it, but if you like I can send you the code of my texteditor, but
I haven't finished it, because I ran in to a lot of problems which I couldn't
solve. :(
Mvh. Ole
Team S.A.R.R.
--- GoldED/386 2.51.A0901+
---------------
* Origin: Nightcall Point (2:237/10.150)
|