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.

Tree view

2 posts in Objects Last posting was on 2006-09-25 13:25:39.0Z
Smith Posted on 2006-09-25 13:07:46.0Z
Sender: 6105.4517d2b9.1804289383@sybase.com
From: Smith
Newsgroups: sybase.public.powerbuilder.objects
Subject: Tree view
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4517d3a9.6110.1681692777@sybase.com>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 25 Sep 2006 06:03:37 -0700, 10.22.241.42
Lines: 14
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 25 Sep 2006 06:03:38 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 25 Sep 2006 06:07:46 -0700
X-Trace: forums-1-dub 1159189666 10.22.108.75 (25 Sep 2006 06:07:46 -0700)
X-Original-Trace: 25 Sep 2006 06:07:46 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9074
Article PK: 736263

Hi All,

I am using 10.2.1 Build 9004, I am using Tree view in my
application. When I add nodes with sub nodes it is showing
'+' sign whereas there are some nodes available inside the
node, it is fine. But PB shows the same '+' sign to the
final node also where there is nothing inside. PLease let me
know how can I remove that sign.

Please help me in this regard,

Thanks in advance for any help,

Smith


Brad Wery [TeamSybase] Posted on 2006-09-25 13:25:39.0Z
From: "Brad Wery [TeamSybase]" <bradweryatagricoreunited.com>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Tree view
References: <4517d3a9.6110.1681692777@sybase.com>
In-Reply-To: <4517d3a9.6110.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: ugg10.unitedgrain.ca
X-Original-NNTP-Posting-Host: ugg10.unitedgrain.ca
Message-ID: <4517d8d3$1@forums-1-dub>
Date: 25 Sep 2006 06:25:39 -0700
X-Trace: forums-1-dub 1159190739 165.23.247.49 (25 Sep 2006 06:25:39 -0700)
X-Original-Trace: 25 Sep 2006 06:25:39 -0700, ugg10.unitedgrain.ca
Lines: 21
X-Authenticated-User: teamsybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9076
Article PK: 736260

You need to use the TreeViewItem object to insert nodes into your
TreeView. This object has a property called Children, set it to FALSE.
This should remove the '+' sign.

Brad

Smith wrote:
> Hi All,
>
> I am using 10.2.1 Build 9004, I am using Tree view in my
> application. When I add nodes with sub nodes it is showing
> '+' sign whereas there are some nodes available inside the
> node, it is fine. But PB shows the same '+' sign to the
> final node also where there is nothing inside. PLease let me
> know how can I remove that sign.
>
> Please help me in this regard,
>
> Thanks in advance for any help,
>
> Smith