![]() |
![]() |
|||||||
|
||||||||
TutorialInsert Listbox
The Listbox object has been developed to enable you to link a larger number of similar documents or programs with the menu. Some typical uses might be:
An Assistant is available to help you insert and create your Listbox, meaning that it only takes a small number of clicks to link a large number of documents with the Listbox.
![]() Listbox Example: Pdf files
Preparation: Click on the Listbox symbol in the object bar and drag it into the appropriate position in the menu window.
Once it has been positioned, the Listbox Assistant is started.
![]() The first screen presented by the Assistant enables you to set the position and dimensions of the Listbox. You can also choose between having the Listbox entries sorted and arranged either alphabetically or according to their sequence in the script.
![]() In the next Assistant screen, use the "Browse" button to enter the file folder that you created earlier and then click on a file which represents one of the file types specified for Listbox entries (*.pdf, *.pps, *.doc, *.html, *.txt, *.exe,...) Once this has been done, the Listbox Assistant will search for all the files in the folder specified that correspond to the chosen file type (the type you clicked on) and then create a list (script), which will include an entry for every file found in the folder. If you click on an image file (*.jpg, *.gif, *.bmp,...), the Assistant can also be used to add all other image file types too.
![]() The third page outputted by the Assistant corresponds to the link page in the button properties dialog window. "%1" is the placeholder for the files designated previously on the second page.
The Listbox Assistant will suggest all the settings for you; there is usually no need to change these.
If the documents you want to use are pdf or pps files and if you are
a registered user of the Business Edition, the Assistant will also
suggest that you use the Pdf or Pps Starter and will fill out the
entry fields accordingly.
If you want to use image files and if you are a registered user of
PicturePlayer, the Listbox Assistant will suggest that you use this
application and will fill out the entry fields accordingly. Please note: One use of PicturePlayer (www.picture-player.de) is to display individual images in full-screen mode.
![]() The last page outputted by the Assistant is used to generate the script which will be used to create the Listbox. If you want, the script can be loaded and edited in Notepad by clicking on the "Edit" button. This function allows you to resort, supplement or delete Listbox entries.
Each Listbox entry in the script file consists of one line with the
following format: LISTITEM=Autorun:FILE=Autorun.pdf:TOOLTIP=Display "Autorun" helpfile. Whereby:
Special case: Listbox with image filesIf a Listbox is inserted that contains image files, CDMenuPro will automatically add the following text as a tool tip:
This will make it possible to realize a thumbnail image in the tool tip area of the menu window. To do this, take the following additional action:
![]() Important: The images for the thumbnails should be roughly the same size as the tool tip area; this will cut down on loading times and save on resources. But if you want to use the same image files, this can be done because CDMenuPro will reduce the size of them for the thumbnail presentation if this is necessary.
![]() Example: Image and text tool tip linked with the Listbox. |
|
|||||||