Creating your own custom buttons in Lectora

afzalraza Community Member Posts: 110

In one of the previous post in the discussion forum, I came across the queries regarding the custom buttons that can be created by the user in Lectora. So, here’s something that I came to know about the user defined custom buttons. Hope, it will be of some help. (Sorry for the repetition if somebody already posted this)

To create your own custom buttons in Lectora, first you have to create a folder for the buttons, so that you can recognize them as your own buttons. The location of the folder should be “Your hard drive partition (basically, C):Program FilesTrivantisLectora Professional Publishing Suite DemoClipArtMultiframe Buttons. You’ll see a set of folders that are already present at this location. Each of these folders contains the .gif files for the buttons that are already present under Custom Buttons in the Button Wizard.

Now, to create your own custom buttons, first create a folder (let My Buttons) in the above location. Now, paste your .gif files that you have created for the new buttons inside this folder. Next, if you access the Button Wizard of Lectora, you’ll be able to see your folder as a new tab under the custom buttons section. If you open the tab (here, My Buttons), you’ll get to see the images that you pasted inside the My Buttons folder as buttons under this tab.

Apart from creating your own custom buttons, you can also make these buttons to exhibit actions as per their required intentions. For example, when you include a newly created Next button and a Back button to your Lectora title and you want them to exhibit the functionalities of Back and Next buttons, then you must be careful in naming the .gif files you created for the buttons. For back and next buttons, back.gif and next.gif must be a part of the button names. For example, you can name them as mybutton back.gif and mybutton next.gif. Then, when you include these two buttons in your Lectora title, the subsequent actions for going back to the previous page and navigating to the next page are automatically included in those buttons. However, only the Next, Back, Exit, Home buttons can exhibit such kind of behavior based on their naming conventions.