View Single Post
You're on your way
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 501
Join Date: Sep 2007
Location: Austin, Texas
Default You're on your way - 04-29-2014, 09:26 PM

Your son is correct about the use of the lists.
One of the possible events is the "When mouse clicked on anything" do "something".

First, create the list.

Next, create a method that will check the list, and add an object parameter.

Next, create the event and replace "Nothing" with the name of the method. This will pass the "what was clicked" object as the parameter.

Now, pull in a "for all in order" into the method, and use an If to check the parameter object against each member, and says "locked" if a match is found.

Same code will work for any size list.

Last edited by MrMoke; 04-30-2014 at 07:04 AM.
   
Reply With Quote