This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

Comps Change Notifier

edited April 2013 in LMD IDE-Tools
It would be really useful if the CompsChange notifiers could have a reason sent with the actual notification (delete,move add etc).

This would help me because I have a panel slightly similar to the object tree where I have to remove items or add items when a component is added or removed to/from the designer,  but of course I don't need to do anything if it's a move or a selection which happen a lot more often.  - any chance of adding this?

Regards
Keith.

Comments

  • Try OnNotification event...
  • Works well for deletion, but unfortunately this is being fired before the constructor for the inserted component is finished.  I guess the only solution for this would be to move the inherited call in the constructor to the end?
  • In fact it's worse than that as on insert,  it gets fired before the component is named,  so it won't work except for deletions (which in itself was useful!).
  • You can also try Designer.OnComponentInserted event.
Sign In or Register to comment.