Karim
Posts: 170
Joined: 2006-01-02
|
Hello,
I have an old project compatible for office 2003 2007 2010 2013
How to convert the option page for this to be accessed from ribbon button from ribbon tab for 2010 and 2013
My old code is :
procedure TAddInModule.OptionsPagesAdd(ASender: TObject; const Pages: Outlook2000.PropertyPages);
begin
Pages.Add('MyAddins.OptionPage', 'MyName');
end;
Do I have to redo everything? Have you an example ?
Karim |
|
Andrei Smolin
Add-in Express team
Posts: 18823
Joined: 2006-05-11
|
Karim,
You can move all controls onto a UserControl and place it on the Options Page. Also, you can create a new form and place the User COntrol on the form as well.
Then you need to add a Ribbon button showing the new form modally. No way exists to do this automatically.
Andrei Smolin
Add-in Express Team Leader |
|