Jeffrey Lott
Posts: 10
Joined: 2011-03-25
|
On the AddInModule I placed a TadxRibbonCommand (adxRibbonCommand1)
Set properties as follows
adxRibbonCommand1.IdMso = 1975 (the id value for SaveAndClose)
adxRibbonCommand1.Ribbons = [msrOutlookTask, msrOutlookExplorer]
Set the OnAction event
procedure TAddInModule.adxRibbonCommand1Action(Sender: TObject;
const Pressed: Boolean; var Cancel: Boolean);
begin
ShowMessage('Save and Close');
end;
Fire up Outlook, dblclick a task.
The Inspector pops up
Click "Save & Close", nothing happens.
Read your post about this bug, states to add a 2nd TadxRibbonCommand but do not handle OnAction. So I added a 2nd one.
adxRibbonCommand2.IdMso = 1975 (the id value for SaveAndClose)
adxRibbonCommand2.Ribbons = [msrOutlookTask, msrOutlookExplorer]
No handling of OnAction event.
Still adxRibbonCommand1.OnAction does not file.
?, thanks. |
|
Jeffrey Lott
Posts: 10
Joined: 2011-03-25
|
Ahhhh. Never mind. Need to set IDmso to "SaveAndClose" |
|
Eugene Astafiev
Guest
|
You are welcome, Jeffrey! |
|