Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

It is not every question that deserves an answer. -- Publilius Syrus


devel / comp.lang.clipper.visual-objects / bBrowser 4, memo field and the enter key

SubjectAuthor
* bBrowser 4, memo field and the enter keySteph H
`- Re: bBrowser 4, memo field and the enter keySteph H

1
bBrowser 4, memo field and the enter key

<55513a9f-a9b4-4eeb-a76d-68b258f87fb6n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1097&group=comp.lang.clipper.visual-objects#1097

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:ac8:5c4a:0:b0:304:eb5e:9fb2 with SMTP id j10-20020ac85c4a000000b00304eb5e9fb2mr23649393qtj.463.1654899173177;
Fri, 10 Jun 2022 15:12:53 -0700 (PDT)
X-Received: by 2002:ad4:5be4:0:b0:467:de78:dfb5 with SMTP id
k4-20020ad45be4000000b00467de78dfb5mr30351609qvc.63.1654899172994; Fri, 10
Jun 2022 15:12:52 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 10 Jun 2022 15:12:52 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=173.177.126.142; posting-account=Ahua0woAAABIFV2KV-KrSNEul4pSvzD8
NNTP-Posting-Host: 173.177.126.142
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <55513a9f-a9b4-4eeb-a76d-68b258f87fb6n@googlegroups.com>
Subject: bBrowser 4, memo field and the enter key
From: stephn_33@hotmail.com (Steph H)
Injection-Date: Fri, 10 Jun 2022 22:12:53 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1782
 by: Steph H - Fri, 10 Jun 2022 22:12 UTC

Hi folks,

Been quite a while since i've posted here but looks like i'm digging into some old stuff and need a solution.

When editing a memo field in bBrowser, how can I have the Enter key do a CRLF instead of ending the editing.

Here's how my bbrowser is setup:

oDCBrowser:AutoEdit := #Sensitive
oDCBrowser:EnableSkipEoF(False)
oDCBrowser:CurrentMode := #Line
oDCBrowser:Editable:=true
oDCBrowser:EnableRowHeightVariable(TRUE)
oDCBrowser:EnableRowResize(TRUE)
oDCBrowser:WordBreakInMemo := TRUE

I could use the CELL_EDIT callback and check for BEDIT_END but how do I know if the Enter key was the cause of the BEDIT_END?
And if I find that out, i'll have to inject a CRLF right where the cursor was.
Any insights?
Thanks!
Steph

Re: bBrowser 4, memo field and the enter key

<ef71e223-df77-44bc-93e5-4dfe96362f6an@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1098&group=comp.lang.clipper.visual-objects#1098

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a05:622a:1213:b0:305:1f3c:549a with SMTP id y19-20020a05622a121300b003051f3c549amr2963220qtx.386.1654899483889;
Fri, 10 Jun 2022 15:18:03 -0700 (PDT)
X-Received: by 2002:ad4:5c87:0:b0:464:5127:6b5b with SMTP id
o7-20020ad45c87000000b0046451276b5bmr48885561qvh.32.1654899483737; Fri, 10
Jun 2022 15:18:03 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 10 Jun 2022 15:18:03 -0700 (PDT)
In-Reply-To: <55513a9f-a9b4-4eeb-a76d-68b258f87fb6n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=173.177.126.142; posting-account=Ahua0woAAABIFV2KV-KrSNEul4pSvzD8
NNTP-Posting-Host: 173.177.126.142
References: <55513a9f-a9b4-4eeb-a76d-68b258f87fb6n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ef71e223-df77-44bc-93e5-4dfe96362f6an@googlegroups.com>
Subject: Re: bBrowser 4, memo field and the enter key
From: stephn_33@hotmail.com (Steph H)
Injection-Date: Fri, 10 Jun 2022 22:18:03 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1297
 by: Steph H - Fri, 10 Jun 2022 22:18 UTC

I just figured out that CTRL+ENTER does what I want :p
Just pressing ENTER would be better so still interested by anything you might have!

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor