Simplicty and flexibility!


Problem with moving out of a Memo with keyboard.


Started by Marco
Search
You will need to Sign In to be able to add or comment on the forum!

Problem with moving out of a Memo with keyboard.

I have a question for you I noticed that in dfw 8.5 the user can not pass the focus from the memo field to another field with the keyboard (enter/tab), he can do it only with the mouse.

Is there a way to do it with the keyboard?

Thank you

Marco


Written by Marco 06/03/19 at 11:11:54 Dataease [{8}]FIVE

Re:Problem with moving out of a Memo with keyboard.



Memo is an editor and should work even more like an editor that it does today. In DE9 you can store 4GB of text in a memo....


However. The idea in DE8 was to hand power over from DataEase to the developer which is why we developed so many new functions.

The reason you can't tab from Memo to next is because tab in Memo is to do a indent. However you can easily override this feature with the following code on the memos

KeyDown event in OML

define "retval" text .

if keyvalue = 9 then

retval := setFocus("Field 3") .

end

Where Field 3 is the field you want next in the tab order.

This will then work exactly as before.


If you want to get this for “free” you can use a text field instead if the expected text is less than 4k.

I know there are some feature differences between Memo and Text in DE8 but these will disappear in DE9 where all fields will be the “same” i.e. you don’t have to use Memo functions anymore and all string functions will work over 255 limit of 8.5.

The limit in DE9 is 4GB on all string functions.


Written by DataEase 06/03/19 at 11:14:11 Dataease [{8}]FIVE