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
Gretchiie
Wed Sep 17 08:54:03 2025
from
Derry, Nh
via
Telnet
Bob Worm
Wed Sep 17 08:43:18 2025
from
Wales, Uk
via
Telnet
Bob Worm
Wed Sep 17 08:14:37 2025
from
Wales, Uk
via
Telnet
Volatile_Memory
Wed Sep 17 07:20:57 2025
from
Des Moines, Iowa
via
SSH
Volatile_Memory
Wed Sep 17 07:17:26 2025
from
Des Moines, Iowa
via
SSH
Bob Worm
Tue Sep 16 21:01:27 2025
from
Wales, Uk
via
Telnet
Bob Worm
Tue Sep 16 15:15:42 2025
from
Wales, Uk
via
Telnet
Gretchiie
Tue Sep 16 05:20:21 2025
from
Derry, Nh
via
Telnet
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
546
Nodes:
16 (
2
/
14
)
Uptime:
49:02:29
Calls:
10,397
Calls today:
5
Files:
14,066
Messages:
6,417,286
Posted today:
1