Pop-Up Thingie
Sidebar
>>> Magnum BBS <<<
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Usenet
COMP.LANG.CLIPPER.VISUAL-
bBrowser 4, memo field and the enter key
From
Steph H
@21:1/5 to
All
on Fri Jun 10 15:12:52 2022
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
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
From
Steph H
@21:1/5 to
All
on Fri Jun 10 15:18:03 2022
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!
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
Who's Online
Recent Visitors
Guest
Wed Jul 29 14:26:54 2026
from
Balkans
via
Telnet
Rixter
Wed Jul 29 14:18:17 2026
from
Madison, Nc
via
Telnet
Rixter
Wed Jul 29 02:00:40 2026
from
Madison, Nc
via
Telnet
Centurion
Tue Jul 28 22:54:59 2026
from
Berea, Ohio
via
Telnet
Bob Worm
Tue Jul 28 16:01:18 2026
from
Wales, Uk
via
Telnet
Rixter
Tue Jul 28 13:42:46 2026
from
Madison, Nc
via
Telnet
Krenn
Tue Jul 28 11:59:57 2026
from
Sydney, Nsw
via
Telnet
Rixter
Tue Jul 28 01:23:48 2026
from
Madison, Nc
via
Telnet
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
741
Nodes:
16 (
2
/
14
)
Uptime:
73:25:40
Calls:
12,448
Calls today:
3
Files:
15,194
Messages:
6,537,654