zeljko schrieb:
On Wednesday 26 of October 2011 03:35:31 Hans-Peter Diettrich wrote:

 > This method looks as if it could be removed. A property ParentShowHint

 > exists already, which does exactly the same.


This method is added because code from application.inc must access parentshowhint from TControl, but it's protected there, so IsParentShowHint is introduced.

Okay so far, I missed the different visibility.

BTW such problems make it impossible to implement another (Delphi compatible) DragManager :-(


I didn't want to change visibility of ParentShowHint in TControl, so added IsParentShowHint.

Why not implement it as just another property?

  public property IsParentShowHint read FParentShowHint;

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to