Recent

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

josh

  • Hero Member
  • *****
  • Posts: 750
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 »
Development Installation Lazarus 1.3, FPC 2.7.1,Windows 7/8 32/64, OSX, *nix

Test Environment Lazarus & FPC Trunk on Windows and OSX (Cocoa Mainly on OSX). Testing also Crosscompile windows to OSX.. 
Any posts made from 2015 will be based on Lazarus Trunk.