Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-11

Screen questions

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Hans-Peter Diettrich

The names related to screen event parameters look a bit weird. When e.g. a handler for snActiveControlChanged is invoked, the *LastControl* parameter reflects the *new* active control. At this time the information about the previously active control is already lost!

If this is really the intended effect, at least this parameter (TScreenControlEvent.LastControl) should be renamed into something more intuitive.

What's the purpose of the Z-ordered form list? IMO all lists reflect the same (activation) order.

DoDi

Reply by email