Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 11 total
Thread Enter not working in Chrome memo
Mon, Jun 9 2014 12:18 PMPermanent Link

Matthew Jones

Create a form, put on an TMemo. Run (after save). In the IDE, the Enter
key works fine. In Chrome or IE, the Enter key doesn't allow me to use
Enter to change lines.

Is this just me, or is something broken?


Chrome Version 35.0.1916.114 m
IE version 10.0.9200.16899

--

Matthew Jones
Mon, Jun 9 2014 1:24 PMPermanent Link

Raul

Team Elevate Team Elevate

On 6/9/2014 12:18 PM, Matthew Jones wrote:
> Is this just me, or is something broken?

Same here so i'd say something broken.

You can paste multi-line text in Chrome just fine and then navigate and
edit any line but cannot create new lines with enter

Raul
Mon, Jun 9 2014 2:09 PMPermanent Link

Matthew Jones

Raul <raul@removethis.raul.ca> wrote:
> Same here so i'd say something broken.

I've raised an incident report.

--
Matthew Jones
Tue, Jun 10 2014 4:00 PMPermanent Link

Matthew Jones

> I've raised an incident report.

Tim has emailed me a fix. I will test in morning and post it here. It
appears to have been a fix for an unneeded POST.

--
Matthew Jones
Wed, Jun 11 2014 2:56 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

Hi Matthew,

Did the fix work? If so can you post it here please.

Chris Holland
[Team Elevate]

On 10/06/2014 21:00, Matthew Jones wrote:
>> I've raised an incident report.
>
> Tim has emailed me a fix. I will test in morning and post it here. It
> appears to have been a fix for an unneeded POST.
>
Wed, Jun 11 2014 4:06 AMPermanent Link

Matthew Jones

Okay, Tim's fix didn't work as-is, but pointed in the right direction.
I'll let him know.

This is the problem line:

function TCustomPanel.CheckKeyDown(Key: Integer; ShiftKey, CtrlKey,
AltKey: Boolean): Boolean;
begin
 if FKeyPreview then
    begin
    Result:=DoKeyDown(Key,ShiftKey,CtrlKey,AltKey,True);
    if Result then
       Result:=inherited CheckKeyDown(Key,ShiftKey,CtrlKey,AltKey);
    end
 else
    Result:=(Key <> VK_RETURN); // Suppress automatic form submittal
behavior !!!!  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
end;


To fix it, change that to
  Result := True;

(Tim's original fix was to comment it out, but the result is then
undefined, and didn't work for me.)

--

Matthew Jones
Wed, Jun 11 2014 8:08 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

Thanks Matthew,

All working again now.

Chris

On 11/06/2014 09:06, Matthew Jones wrote:
> Okay, Tim's fix didn't work as-is, but pointed in the right direction.
> I'll let him know.
>
> This is the problem line:
>
> function TCustomPanel.CheckKeyDown(Key: Integer; ShiftKey, CtrlKey,
> AltKey: Boolean): Boolean;
> begin
>    if FKeyPreview then
>       begin
>       Result:=DoKeyDown(Key,ShiftKey,CtrlKey,AltKey,True);
>       if Result then
>          Result:=inherited CheckKeyDown(Key,ShiftKey,CtrlKey,AltKey);
>       end
>    else
>       Result:=(Key <> VK_RETURN); // Suppress automatic form submittal
> behavior !!!!  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> end;
>
>
> To fix it, change that to
>     Result := True;
>
> (Tim's original fix was to comment it out, but the result is then
> undefined, and didn't work for me.)
>
Thu, Jun 12 2014 3:47 AMPermanent Link

Matthew Jones

> > (Tim's original fix was to comment it out, but the result is then
> > undefined, and didn't work for me.)

Tim emailed back and it sounds like v2 is going to be quite sweet...
All good things etc.

--

Matthew Jones
Thu, Jun 12 2014 9:23 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

Where is this video.... I want to see what goodies are coming our way.


Chris

On 12/06/2014 08:47, Matthew Jones wrote:
>>> (Tim's original fix was to comment it out, but the result is then
>>> undefined, and didn't work for me.)
>
> Tim emailed back and it sounds like v2 is going to be quite sweet...
> All good things etc.
>
Mon, Jul 21 2014 3:47 PMPermanent Link

Walter Matte

Tactical Business Corporation

Thanks for posting - I ran into this with a customer today.

Walter
Page 1 of 2Next Page »
Jump to Page:  1 2
Image