🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #17474

Few Memo control questions

#17474
From: ScOe
Date: Tue, 11 Mar 2003 18:14
16 lines
1670 bytes
I'm working on nfo editor application ... For those who have made their own
.nfo's, something like AcidDraw
So in general ... I'm using Memo control which i made read only. I'm
catching VK_SPACE key event
on which i change Memo1->SelText to selected char.
Initialy i've put 40 lines of 80 ' ' chars that forms initial border.
I dont want to exceed border limits (width).
Problem is in VK_BACK .. if overwrite is turned on i use this:
        Memo1->SelStart --;
        Memo1->SelLength = 1;
        Memo1->SelText = ' ';
        Memo1->SelStart --;
but if not .. i need to clear previous char and in same time change place of
following chars and add one blank at the end of line ...
Other question is: Can i catch Function F1-12 key's with OnKeyPress event of
Memo control ?
Technical Details
Message-ID: <3e6e2772@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,ae06052f4c6d49c2
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-12 13:16:08 PST
From: "ScOe" <sven.savic@zg.hinet.hr>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Few Memo control questions
Date: Tue, 11 Mar 2003 19:14:06 +0100
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 213.191.148.100
Message-ID: <3e6e2772@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1047406450 213.191.148.100 (11 Mar 2003 10:14:10 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail