on 10-18-2013 12:34 PM
Hi al gurus,
I have a "simple" requirement, that is, add dinamically a tray over a specific TransparentContainer, which contains itself two different TransparentContainers(Left and Right).
Each one of these will contain some fields (specifically, couples of label and inputfields).
Here's the tricky part: I have to add the tray dinamically *only if there's something visible in the TransparentContainer*.
So I'm gonna ask you; what's the best, effective way to check if TC_LEFT and TC_RIGHT contain at least a visible element?
I have an obvious solution that is pretty time-consuming, but maybe there's a workaround to manage such a requirement in an easy and faster way.
Thanks
Solved. I simply wrote a routine that gets all the child elements of a transparentContainer and then loop over them. Then for each one of the child, use the GET_VISIBLE method to check for visibility property.
If any of them has the visible attribute set to '02', then EXIT the loop as the "top" container should be visible too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.