Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Can DataWindow.VisualObjects property be safely used?

2 posts in DataWindow Last posting was on 2008-11-05 23:54:45.0Z
Eran Posted on 2008-11-02 12:57:42.0Z
Sender: 77ac.49095423.1804289383@sybase.com
From: Eran
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Can DataWindow.VisualObjects property be safely used?
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <490da3c6.3099.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 2 Nov 2008 04:57:42 -0800
X-Trace: forums-1-dub 1225630662 10.22.241.41 (2 Nov 2008 04:57:42 -0800)
X-Original-Trace: 2 Nov 2008 04:57:42 -0800, 10.22.241.41
Lines: 21
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88089
Article PK: 417345

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]" <john.olson Posted on 2008-11-05 23:54:45.0Z
From: "John Olson [Team Sybase]" <john.olson@nospam_teamsybase.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <490da3c6.3099.1681692777@sybase.com>
Subject: Re: Can DataWindow.VisualObjects property be safely used?
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <49123245@forums-1-dub>
Date: 5 Nov 2008 15:54:45 -0800
X-Trace: forums-1-dub 1225929285 10.22.241.152 (5 Nov 2008 15:54:45 -0800)
X-Original-Trace: 5 Nov 2008 15:54:45 -0800, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88110
Article PK: 417365

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.3099.1681692777@sybase.com...
> 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