How to usethe component SRVToolbar?

General TRichView support forum. Please post your questions here
Post Reply
lexuv
Posts: 3
Joined: Mon Jul 23, 2012 12:40 pm

How to usethe component SRVToolbar?

Post by lexuv »

How to use the component SRVToolbar? Where to write in an action from RichViewActions for a SRVToolbutton in it (I've defined the actions in ActionManager). Just in code when processing? If so what object model is used to do that? For example:

ActionToolbar1.ExecuteAction();

and what has to be in parenthesis?
lexuv
Posts: 3
Joined: Mon Jul 23, 2012 12:40 pm

SRVToolbar

Post by lexuv »

I meant SRVToolbutton buttons. They don't have an action property to use.
lexuv
Posts: 3
Joined: Mon Jul 23, 2012 12:40 pm

Post by lexuv »

Sorry: SRVToolBar buttons :-)
Sergey Tkachenko
Site Admin
Posts: 17561
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

This is a very simple toolbar, it does not support actions.
When a button is clicked, toolbar.OnClickButton event occurs, where you can execute your code.
This toolbar is not too useful as a separate component. But it can be embedded in scrollbar areas of TSRichViewEdit, configured using TSRichViewEdit.MenuHorizontal and MenuVertical properties.
Post Reply