Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can DataWindow.VisualObjects property be safely used?

24 views
Skip to first unread message

Eran

unread,
Nov 2, 2008, 7:57:42 AM11/2/08
to
Hi,

I'm working on a service that handles resizing of our
application. DataWindows should get some special treatment,
and for that I need a way to get all the *controls* in the
DW. I know I can use DataWindow.Objects to get the complete
list of objects, and then check them all to see which are
controls and which are not. Looking for a more efficient
way, I came across a thread where the property VisualObjects
was mentioned. I've tried it, and it works just fine.
However, it is undocumented, and I'm a bit reluctant about
using such a feature in such a fundamental service.

The question is, then, whether this feature has not been
documented by mistake and could safely be used, or the lack
of documentation is by purpose, which means the feature
might not be supported in future versions. Does anyone have
an idea what is the case?

TIA,
Eran

John Olson [Team Sybase]

unread,
Nov 5, 2008, 6:54:45 PM11/5/08
to
As with anything, if it is documented it may change, but the change is
unlikely to break backward compatibility. If it is undocumented it is still
unlikely to change, but more likely. If the performance savings aren't
dramatic I'd stick with the DataWindow.objects, which is very unlikely to
ever change.

Regards,
John


<Eran> wrote in message news:490da3c6.309...@sybase.com...

0 new messages