|
ListBox Object |
Top Previous Next |
|
You can fill this object with text, string variable, string array, text files, audio/video files (with their times) or the early mentioned playlists. This new type of object also bringing new type of events to the MMB – "Double Click" and "Drag&Drop" (at the moment only for ListBox object). In addition, there are many new scripting commands, allowing you to effectively work with the MMB ListBox object.
In ListBox settings dialog you can set the Background and Text colors, displaying the ScrollBars (both horizontal and vertical), set style of the ListBox border, custom font and of course action scripts for "Double Click", "On Selection" and "Drag&Drop" events. Style options Sets several usual ListBox styles..just try them and you will see the result ;) Properties Drag&Drop - this option allow/disallow drag&drop to ListBox (by default ON). Search for ID tags (OGG and video files) - it search for time of audio files loaded to ListBox via playlist or internal song list. This feature is dependent on FMOD audio library, therefore it must be enabled and project must be compiled with Full player (by default ON). Hide numbers - hide numbers of ListBox items (by default OFF). Hide time - hide time of audio/video files loaded in ListBox (by default OFF). MPEGAccurate - This will allow you to load VBR (variable bitrate) audio files into ListBox with correct time. But the dark side of this option is much longer loading time, mainly if you load too many files at once (by default OFF).
Check the ListBox scripting commands for advanced work with the ListBox. Here are some example files: listbox_tut.mbd - a general ListBox example move_up_down.mbd - move UP/DOWN items example listbox_on_master_page.mbd - ListBox object used as a page navigation object listbox_fileextensions.mbd - ListBox Drag&Drop and adding items with filename+extension to ListBox |