Recent

Author Topic: Object Inspector properties shown in events tab?  (Read 8092 times)

Bart

  • Hero Member
  • *****
  • Posts: 5712
    • Bart en Mariska's Webstek
Object Inspector properties shown in events tab?
« on: March 26, 2011, 12:36:33 pm »
Just a dumb question.

For some time now I noticed, that in the Object Inspector's Event's tab, it starts with some properties before listing the events.

See attached screenshot form a new application, consisting of only 1 empty form.
Sometimes these properties also seem to hide events.

Is this normal behaviour?

Bart

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: Object Inspector properties shown in events tab?
« Reply #1 on: March 26, 2011, 12:46:34 pm »
The same here, Linux+Qt. But it is there for a longer time (I use SVN snapshots).

f.i. "Action" is in both Properties and Events, but I usually use it in Properties because it is habit.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Neil Darlow

  • New member
  • *
  • Posts: 8
Re: Object Inspector properties shown in events tab?
« Reply #2 on: April 06, 2011, 09:00:51 pm »
Hi,

I noticed this too and created a report in the bugtracker.

Regards,
Neil Darlow

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12288
  • Debugger - SynEdit - and more
    • wiki
Re: Object Inspector properties shown in events tab?
« Reply #3 on: April 06, 2011, 09:12:28 pm »
I think this is correct.

The action is an object, which has events too.

If you assign an action to the property, then you should notice a little
  • on front of it. this allows you to manage the events of the actions.


Of course, you can also manage the events of the action, by selecting the action in the object inspector. It's just another way to access things faster.

Bart

  • Hero Member
  • *****
  • Posts: 5712
    • Bart en Mariska's Webstek
Re: Object Inspector properties shown in events tab?
« Reply #4 on: April 07, 2011, 04:22:02 pm »
But ActiveControl, Constraints en Menu should IMHO not be there?

Bart

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: Object Inspector properties shown in events tab?
« Reply #5 on: April 07, 2011, 04:27:59 pm »
Quote
But ActiveControl, Constraints en Menu should IMHO not be there?

If I select Form1.ActiveControl for exmaple Button1 then I can access all events of Button1 in Event Tab of Form1. It is probably why Laz. developers did it.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

zeljko

  • Hero Member
  • *****
  • Posts: 1905
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Object Inspector properties shown in events tab?
« Reply #6 on: April 07, 2011, 06:30:44 pm »
If I select Form1.ActiveControl for exmaple Button1 then I can access all events of Button1 in Event Tab of Form1. It is probably why Laz. developers did it.

exactly.

 

TinyPortal © 2005-2018