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.

Changing the TreeViewItem Label in Code

2 posts in Objects Last posting was on 2002-07-15 19:27:33.0Z
Bermont LeBlanc Posted on 2002-07-15 19:07:44.0Z
Newsgroups: sybase.public.powerbuilder.objects
Reply-To: "Bermont LeBlanc" <bermontl@health.nb.ca>
From: "Bermont LeBlanc" <bermontl@health.nb.ca>
Subject: Changing the TreeViewItem Label in Code
Date: Mon, 15 Jul 2002 16:07:44 -0300
Lines: 13
Organization: Beausejour Hospital Corp.
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: well.health.nb.ca 207.179.181.34
Message-ID: <364_qZG5rRDLCHA.196@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:1112
Article PK: 713680

Would anybody know if it is possible to change tree view item labels in
code.

Basically I want to be able to edit the labels in code without having to
rebuild the tree.

Anyone?

Thanks.


Martin M Eichelman, Jr <no-reply Posted on 2002-07-15 19:27:33.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: Martin M Eichelman, Jr <no-reply@strategic-alt.com>
Subject: Re: Changing the TreeViewItem Label in Code
Date: Mon, 15 Jul 2002 12:27:33 -0700
Organization: Strategic Alternatives Inc
X-Newsreader: MicroPlanet Gravity v2.60
Lines: 21
NNTP-Posting-Host: 12.22.218.52
Message-ID: <364_bA5MqaDLCHA.306@forums.sybase.com>
References: <364_qZG5rRDLCHA.196@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:1111
Article PK: 713672

In sequence from the PB Help..

1. GetItem PowerScript function:
Syntax 3 For TreeView controls

treeviewname.GetItem (itemhandle, item)
item A TreeViewItem variable in which you want to store the
item identified by the item handle

2. TreeViewItem object
Label Label Identifies the string label associated with the
item.

3. SetItem PowerScript function:
Syntax 3 For TreeView controls

treeviewname.SetItem ( itemhandle, item )

---

:: m a r t y


In article <qZG5rRDLCHA.196@forums.sybase.com>, Bermont LeBlanc
<bermontl@health.nb.ca> says...

> Would anybody know if it is possible to change tree view item labels in
> code.
>
> Basically I want to be able to edit the labels in code without having to
> rebuild the tree.
>
> Anyone?
>
> Thanks.
>
>
>
>
>