The event fires before command will be opened.
public
The BeforeOpen event fires, before command will be opened by calling Open or setting Active = True.
property BeforeOpen: TNotifyEvent;
AfterOpen, Open, Active