Recent

Author Topic: Carbon adding the tab character to memo form.  (Read 4219 times)

Josh

  • Hero Member
  • *****
  • Posts: 1024
Carbon adding the tab character to memo form.
« on: December 10, 2018, 01:38:35 am »
Hi

On Windows if I put 2 memo on a form, and use the tab key to navigate between the two all is fine.
Compiling for carbon, a tab character is added to the sending tab and to the destination tab.

Any fix likely?

At the moment  am using the on change event to remove all vk_tabs; but this is only usefull if you are not using tab in the memo.

If Sender is TMemo then tmemo(sender).Text:=stringreplace(tmemo(sender).Text,chr(vk_tab),'',[rfReplaceall]);
« Last Edit: December 10, 2018, 02:34:41 am by josh »
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

 

TinyPortal © 2005-2018