Recent

Author Topic: frame problem  (Read 2152 times)

sadikacar60

  • Guest
frame problem
« on: January 22, 2019, 01:22:43 am »

tr_escape

  • Sr. Member
  • ****
  • Posts: 432
  • sector name toys | respect to spectre
    • Github:
Re: frame problem
« Reply #1 on: January 22, 2019, 06:51:32 am »
Dear Sadık,

Could you please open an issue in

https://bugs.freepascal.org/my_view_page.php

Lazarus frames not working as Delphi's frame.

sadikacar60

  • Guest
Re: frame problem
« Reply #2 on: January 22, 2019, 09:36:07 am »
(https://i.hizliresim.com/ZXEOG0.jpg)

lazarus and free pascal together use the problem lazarus same

tr_escape

  • Sr. Member
  • ****
  • Posts: 432
  • sector name toys | respect to spectre
    • Github:
Re: frame problem
« Reply #3 on: January 22, 2019, 09:57:09 am »
Türkçe:

Lazarus veya Code Typhon temel derleyici olarak freepascal'ı kullanıyor. Hali ile aynı şekilde davranmaları gerekli.

Frame kullanımında eski Delphi alışkanlığınızı değiştirmeniz gerekli veya frame siz bir yapı oluşturmanız gerekli.

Frame ile ilgili istek veya hata bildirimini

https://bugs.freepascal.org/my_view_page.php

adresinden bildirebilirsiniz.

In English:

Basicly Lazarus or Code typhon is using freepascal as compiler. Thats why behaiving is same.

You have to change your old Delphi habits if you want to use TFrame or you can create your software frameless.



jamie

  • Hero Member
  • *****
  • Posts: 6090
Re: frame problem
« Reply #4 on: January 23, 2019, 12:00:00 am »

I reported that long ago..

you did not specify which release of Lazarus you are using ?

There is a 2.0 CR3 currently being tested that you can download and check to see if that was corrected.

The problem is the Object inspector does not Prepend the Instance Name of the Frame item when making
events. If you have multiples of the same TFrame instance on the form, all events generated uses the same
target, which is what you are seeing.

You can fix this in your code however:
 
  Go to the EVENT property for EDIT2, you will see you have "EDIT1OnClick"
  Overtype that with "Frame2Edit1OnClick" and the OI should generate a new code block.

  They claimed before their copy of Delphi did the same, but obviously it does not because the proof is
here. >:(

The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018