![]() | CDMenuProAutoplay - Autorun CD Menu Creator | ||||||||||
| |||||||||||
TutorialThe ButtonPreparation Before you start creating buttons, you have to make sure that all the documents and programs referenced by CDMenuPro have been copied into the CDMenuPro project folder or into any of its sub-folders. The structure of the sub-folders is up to you. Inserting a button Click on the "insert button" button in the vertical toolbar and keep your left mouse key pressed; now drag the mouse pointer into the menu window. The cross is used to symbolize the top corner of the button.
As soon as the button is in position, release the left mouse key. The properties dialog window for buttons will open automatically. In the following example, we will be inserting a button for exiting the menu.
This means that "Exit" will be entered into the text field marked "Button Text". Now click on the register item marked "Link" and select the following from the drop-down menu under "Function": "Exit (terminates CDMenu)".
Now click on "Ok" in the properties dialog window. The properties dialog is closed and you will see that an button lettered "Exit" has been created in the menu window.
The button is surrounded by a dotted line, which indicates that the object is selected. If you move your mouse cursor over the item, you will see that it changes into a cross. This cross is used to tell you that the object can be moved.
Now position your cursor over the button, click and hold the left mouse key and move your button into the position of your choice. The dotted line moves with the button. Once the button is in the right position, release the mouse key.
To deselect the button (or menu object), click in an empty space in the menu window with the left mouse key.
2. ExampleIn the next example, we will be inserting a button for the purpose of starting a text file. We start by clicking on the button for "Buttons" in the object bar and dragging it into the menu window while keeping the left mouse key pressed. Now release the mouse key. A dialog window for the button's properties will now open.
Important: Please note the following for image and bitmap buttons: Important for bitmap buttons: Make sure you copy the image file into the project folder or one of its sub-folders before you reference it. Tip: The buttons can be aligned more easily when the check box "Position Objects on Grid" under "Editor - Settings" has been checked.
A sound file and/or the background sound can be started or stopped respectively for each button function. The following diagram illustrates how a button action is performed:
Examples for starting documents: Notes on the button text The button text is centered as standard. If you would like to right or left-justify the text, you will need to fill the rest of the button with empty spaces and then place it between $ character brackets: If you would like to right justify your text, please bear in mind that this is highly risky. This is because the font size might be set at a different size on the target computer and would mean that your text would move right or left accordingly. There is no problem with left justifying; the text will always be displayed.
You cannot place inverted commas (double or single) around the button text. You can also use the percentage symbol % as an alternative to the $ character. | |||||||||||
| 15.07.2010 Copyright © 2001-2010 KS-SW Klaus Schwenk Software | |||||||||||