Choose object based off expression?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Is it possible to have an expression choose which list object to work with based off an external bit of data?

    For example, I have the following lists:
    List_Fruit
    List_Vegetables
    List_Meat

    I also have a drop box with the following:
    Fruit
    Vegetables
    Meat

    Can I set up an event that will check "List_[string from the drop box]"? I've tried various obvious options and none have worked. The reason for this is I am playing with a scheduling program that draws from ~40 people, each of which had various skills (about 12 total skills) and is available at certain times (6 possible times). I made a list for each skill and each time, populating it with whoever fits those parameters. I'd like to use as few events as possible to dig through all these things, rather than making 40*12*6 separate series of events...

  • Here you go - hopefully this will help.

    Select a list in the dropdown box, and then click on the button. The application will pull all of the list items from the selected list, and add it to the big list at the bottom.

    It's pretty simple but let me know if you have any questions.

    Please login to see this attachment.
    Made in MMF2 so will work in both MMF2 and F2.5.

  • My personal recommendation would be to use a Text Array rather than multiple lists. X = 0 could be your first list, with the dfiferent items corresponding to different Y values. Then to change the list you just change the X index you're scanning from. (3,4) would be the fourth item on the third list if you used one based indexes, (1, 6) would be the sixth item on the first list.

    For a list of my achievements, hit up Please login to see this link..com/
    Unless you want to party, then go to Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!