I’m trying to iterate over all main menu’s items. Problem starts at sub menus items. Structure like Menu.Items[i].Items[j].Items[k] doesnt look easy to operate on. Is there any method for that?
My goal is to list all the items captions.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use a recursive function like so