Depending on what you changed for for preview plugin, it may be necessary to make some changes to support the new toolbars and layout. Take a look at the current ppPreview.pas file especially the CreateToolbarItems routine. This shows how the toolbar items are created with the new design. Below is an updated example.
If you take a look at the current CreateToolBarItems routine, you will see that all the current images are accessed from the ToolImageList object. This is a TImageList descendent so you can add your own images to this list and use them as you like. Once you add an image, simply assign the ImageIndex of the button to the index of the image you added.
Comments
Depending on what you changed for for preview plugin, it may be necessary to
make some changes to support the new toolbars and layout. Take a look at
the current ppPreview.pas file especially the CreateToolbarItems routine.
This shows how the toolbar items are created with the new design. Below is
an updated example.
http://www.digital-metaphors.com/tips/ShowPageSetupFromPreviewRB10.zip
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Yes, you can do so by setting the FToolbar.FullSize := True;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
How can I change the button images?
Ken
If you take a look at the current CreateToolBarItems routine, you will see
that all the current images are accessed from the ToolImageList object.
This is a TImageList descendent so you can add your own images to this list
and use them as you like. Once you add an image, simply assign the
ImageIndex of the button to the index of the image you added.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com