Recent

Author Topic: memo problem  (Read 27788 times)

mlkj

  • New member
  • *
  • Posts: 8
memo problem
« on: November 22, 2012, 11:24:57 am »
A very strange question, memo1 "Chinese" display appear problem, this problem through the ListBox control "can Assign normal display
But this problem in some computer deposit, some computer does not exist, very strange


  Memo1.Lines.Add('发送字节数:'  +IntToStr(20));
  Memo1.Lines.Add('收到字节数:'  +IntToStr(50));

Display as shown in figure 1  (Attachments)

   ListBox1.Items.Add('发送字节数:'  +IntToStr(20));
    ListBox1.Items.Add('收到字节数:'  +IntToStr(50));
   
    Memo1.Lines.Assign(ListBox1.Items)  ;

Display normal (figure 2)
 


Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11926
  • Debugger - SynEdit - and more
    • wiki
Re: memo problem
« Reply #1 on: November 22, 2012, 01:24:10 pm »
It works on my win vista 32 bit.

What OS do you use. On which OS does it fail on which does it work?
- OS (vista, xp, win7/8)?
- 32/64 bit

Which version of Lazarus/fpc?
I assume that you used the same executable on all the OS. So the same exe fails on some OS, and works on other OS?

mlkj

  • New member
  • *
  • Posts: 8
Re: memo problem
« Reply #2 on: November 22, 2012, 01:42:57 pm »
my  system   win7/X64

Some computer has the problem, some other no, very strange!
 The computer system to determine is normal, because this problem, to install a WINDOWS

mlkj

  • New member
  • *
  • Posts: 8
Re: memo problem
« Reply #3 on: November 22, 2012, 01:52:11 pm »
Lazarus 1.1  FPC 2.7.1  SVN 39239

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11926
  • Debugger - SynEdit - and more
    • wiki
Re: memo problem
« Reply #4 on: November 22, 2012, 02:30:02 pm »
my  system   win7/X64

Some computer has the problem, some other no, very strange!
 The computer system to determine is normal, because this problem, to install a WINDOWS

Does your computer have the problem?

The computer that does have the problem, what OS does it have?


mlkj

  • New member
  • *
  • Posts: 8
Re: memo problem
« Reply #5 on: November 23, 2012, 02:47:29 am »
I think it's  Lazarus Bug

 

TinyPortal © 2005-2018