Recent

Author Topic: Tmemo1.lines.count gives different value in Mac then in Linux & Windows  (Read 225 times)

han

  • Jr. Member
  • **
  • Posts: 63
Using the same code, the values of Memo1.lines.count is in the Mac version one count higher then using the Windows & Linux compiler. Is this a bug or something due to cocoa? For Windows& Linux I use  gtk2. 

See attached screenshots of the tiny demonstration program containing only:
 form1.label2.caption:=inttostr(form1.Memo1.lines.count);

Demo program is also attached.

Han

Sorry but this is the wrong forum (installation), but I can't move or delete it.

2020-2-5: REPORTED AS BUG
https://bugs.freepascal.org/view.php?id=36664






« Last Edit: February 06, 2020, 12:56:51 pm by han »