How can i get an array of all objects in specific band, Detail or Header for example?
I success to get all objects using:
dw_1.Describe("datawindow.objects")
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 need to get the
datawindow.visualobjectsproperty that lists all the visible objects and for each object, you askobject_name.bandto check if you want it.An example that reuses the PbniRegex (that provides the
uo_regexobject in the code below) to simplify the properties parsing :That code comes from a datawindow herited object, hence it gets direct access to the
describemethod.