Custom preview form problem
Hi,
We'd like to know how to create a new button in the preview form.
In RB5.5, we could simply specify a panel as parent of the button.
In RB6, it didn't works.
We've tried to inherit from tppPreview and override the CreateToolbarControls, but,
as the FButtonBar is private, we couldn't make the FButtonbar the parent of the button.
Is there another (better) approach to do that?
Any help is appreciated,
Marcos Yano
toshi(at)atak(point)com(point)br
We'd like to know how to create a new button in the preview form.
In RB5.5, we could simply specify a panel as parent of the button.
In RB6, it didn't works.
We've tried to inherit from tppPreview and override the CreateToolbarControls, but,
as the FButtonBar is private, we couldn't make the FButtonbar the parent of the button.
Is there another (better) approach to do that?
Any help is appreciated,
Marcos Yano
toshi(at)atak(point)com(point)br
This discussion has been closed.
Comments
into your new class and add/subtract controls as you wish. Register your
new class and you should be good to go.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com