I'm porting TJvNavigationPane to Lazarus.
This component contains other components which can be modified via object inspector, even delete it.
How can avoid that?
I also have a event with procedural getter and setter, because hooks into inner control event. This event shows as <unpublished> in the object inspector and the only difference from other event properties is that is the first published event with procedural getter/setter:
property IconPanel: TJvIconPanel read FIconPanel;
property OnDropDownMenu: TContextPopupEvent read FOnDropDownMenu write FOnDropDownMenu;
property OnSplitterCanResize: TCanResizeEvent read GetSplitterCanResize write SetSplitterCanResize;
property OnSplitterMoved: TNotifyEvent read GetSplitterMoved write SetSplitterMoved;
This property in the form file (.lfm) has a explicit nil:
NavPanelHotTrackFont.Style = [fsBold]
OnSplitterCanResize = nil
Why this happends?
Regards.