Ribbon and PropertyPages

Add-in Express™ Support Service
That's what is more important than anything else

Ribbon and PropertyPages
Ribbon and PropertyPages 
Karim




Posts: 153
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
Posted 29 Sep, 2014 10:49:59 Top
Andrei Smolin


Add-in Express team


Posts: 14094
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.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 30 Sep, 2014 03:44:03 Top