Add button to custom preview on position X
Hi,
I read the documentation about adding a toolbar button to the preview
window. To do this you override CreateToolbarItems(), create your button and
inherit the existing code creating the other toolbar buttons. This way you
can add the new button as first or last entry on the toolbar.
When you need more control you create all buttons yourself is the idea. This
ok when I had write access to the ...Button properties of TppPreview. Could
this be changed?
The other idea is to change the order of the toolbar buttons. That way I
create a button, set its position and ready.
Using RB11.08 Delphi2007
Regards,
Jeroen R?ttink
I read the documentation about adding a toolbar button to the preview
window. To do this you override CreateToolbarItems(), create your button and
inherit the existing code creating the other toolbar buttons. This way you
can add the new button as first or last entry on the toolbar.
When you need more control you create all buttons yourself is the idea. This
ok when I had write access to the ...Button properties of TppPreview. Could
this be changed?
The other idea is to change the order of the toolbar buttons. That way I
create a button, set its position and ready.
Using RB11.08 Delphi2007
Regards,
Jeroen R?ttink
This discussion has been closed.
Comments
Thanks for the feedback, we will consider this for a later release. It is
however not required to use the existing button properties of the TppPreview
class in your custom preview plugin. Currently as a workaround, you could
create your own button properties and implement them the same as the
TppPreview does.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com