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.

How to create a PB6.x TreeView

2 posts in Objects Last posting was on 2002-07-31 12:49:37.0Z
Ed Lim Posted on 2002-07-31 02:32:48.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Ed Lim" <efedwinl@rba.com.bn>
Subject: How to create a PB6.x TreeView
Date: Wed, 31 Jul 2002 10:32:48 +0800
Lines: 11
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: 202.12.26.1
Message-ID: <364_fjqD1fEOCHA.306@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:1062
Article PK: 713627

Dear All,

Can anyone point me to a direction where I can find information on how to
create TreeView object from scratch? I have done a "treeview" using
datawindow control. Now I want to do one using the PB TreeView control. Can
anyone help me??

Regards
Ed


Arnoud Oortwijk Posted on 2002-07-31 12:49:37.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Arnoud Oortwijk" <arnoud@gloriant.be>
Subject: Re: How to create a PB6.x TreeView
Date: Wed, 31 Jul 2002 14:49:37 +0200
Lines: 33
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: 130.10-200-80.adsl.skynet.be 80.200.10.130
Message-ID: <364_wydkYCJOCHA.360@forums.sybase.com>
References: <364_fjqD1fEOCHA.306@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:1061
Article PK: 713623

Hi,

A treeview is build up with treeviewitems (also a PB class). All
treeviewItems relate to eachother with the itemhandle

The general idea is that you first populate a treeviewitem with its label,
pictureindex, etc. Next you place it in the tree with one of the available
functions such as insertitemlast(), insertItemSort(), insertItemLast() and
insertItem( ).

Take a look a the available functions for the treeviewcontrol in the PB
help.

HTH
Arnoud
Url: http://www.gloriant.be

"Ed Lim" <efedwinl@rba.com.bn> wrote in message
news:fjqD1fEOCHA.306@forums.sybase.com...
> Dear All,
>
> Can anyone point me to a direction where I can find information on how to
> create TreeView object from scratch? I have done a "treeview" using
> datawindow control. Now I want to do one using the PB TreeView control.
Can
> anyone help me??
>
> Regards
> Ed
>
>