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.

Hide a treeview item

2 posts in Objects Last posting was on 2009-12-02 10:27:55.0Z
jason Posted on 2009-12-01 16:26:40.0Z
From: "Jason" <jbays@wynalda.com>
Newsgroups: sybase.public.powerbuilder.objects
Organization: 12.164.15.4
X-Newsreader: AspNNTP 1.50 (JodoHost)
Subject: Hide a treeview item
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4b1543c0$1@forums-1-dub>
Date: 1 Dec 2009 08:26:40 -0800
X-Trace: forums-1-dub 1259684800 10.22.241.152 (1 Dec 2009 08:26:40 -0800)
X-Original-Trace: 1 Dec 2009 08:26:40 -0800, vip152.sybase.com
Lines: 13
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9951
Article PK: 737080

Has anyone come up with an easy way to hide treeview items? I'm talking about
hiding individual items that have no children not the kind of hiding that is
done when you collapse a parent treeview item and hide all it's children. It
seems like there should be tv_1.ShowItem( handle ) and tv_1.HideItem( handle )
functions or some sort of visible attribute.

We're currently running PB 10.5 Build 7699.

Thanks,

Jason
---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp


Jeremy Lakeman Posted on 2009-12-02 10:27:55.0Z
From: Jeremy Lakeman <jeremy.lakeman@gmail.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Hide a treeview item
Date: Wed, 2 Dec 2009 02:27:55 -0800 (PST)
Organization: http://groups.google.com
Lines: 20
Message-ID: <eb0bbe9b-28dc-4582-9aec-89dde939dc76@d10g2000yqh.googlegroups.com>
References: <4b1543c0$1@forums-1-dub>
NNTP-Posting-Host: 219.90.235.209
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1259749675 17468 127.0.0.1 (2 Dec 2009 10:27:55 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 2 Dec 2009 10:27:55 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: d10g2000yqh.googlegroups.com; posting-host=219.90.235.209; posting-account=euaBtgoAAAC_vDxfsxmpMKlBxHaHpmRS
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!d10g2000yqh.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9952
Article PK: 737081


On Dec 2, 2:26 am, "Jason" <jb...@wynalda.com> wrote:
> Has anyone come up with an easy way to hide treeview items?  I'm talking about
> hiding individual items that have no children not the kind of hiding that is
> done when you collapse a parent treeview item and hide all it's children.  It
> seems like there should be tv_1.ShowItem( handle ) and tv_1.HideItem( handle )
> functions or some sort of visible attribute.
>
> We're currently running PB 10.5 Build 7699.
>
> Thanks,
>
> Jason
> ---== Posted via the PFCGuide Web Newsreader ==---http://www.pfcguide.com/_newsgroups/group_list.asp

Or you could just remove it and perhaps add it back later...