MMB - array - loop

Multimedia Builder

MMB - array - loop

Postby An475 » Sun Aug 20, 2017 12:29 pm

Hi Guys,

I have a listbox ( bigger >50 item) :
Code: Select all
ListBoxGetSelectedItems("ListBox","SelItemsArray$,NumSelItemsArray$,#,NumOfSelItems")
For i=1 To NumOfSelItems
  SelItem$ = GetArrayItem(SelItemsArray$,#,i)
  Message("Select:","SelItem$")
Next i

The Listbox is OK and the items is load from a txt file.
How can I make a loop that all item in the listbox automatically successively (nacheinander / rekursiv) load
in between item and item -> Pause("4000") after the first message (double-clicking for start)?

Example:
Listbox:
item 1 -> Message -> Pause("4000") -> then -> load (automatically from the Listbox):
item 2 -> Message -> Pause("4000") -> then -> load (automatically from the Listbox):
item 3 -> Message -> Pause("4000") -> then -> load automatically from the Listbox):
...

Thank you for your help. :)
An475
 
Posts: 1
Joined: Sun Aug 20, 2017 11:35 am

Return to MMB

Who is online

Users browsing this forum: No registered users and 2 guests

cron