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.

[TV-DW] Is there a "getSelectedTreeNode" anyway?

2 posts in DataWindow Last posting was on 2009-08-27 13:40:48.0Z
Chris Posted on 2009-08-18 06:40:06.0Z
From: Chris <spam@worldwide.com>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: [TV-DW] Is there a "getSelectedTreeNode" anyway?
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a8a4cc6$3@forums-1-dub>
Date: 17 Aug 2009 23:40:06 -0700
X-Trace: forums-1-dub 1250577606 10.22.241.152 (17 Aug 2009 23:40:06 -0700)
X-Original-Trace: 17 Aug 2009 23:40:06 -0700, vip152.sybase.com
Lines: 12
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89783
Article PK: 418972

Hi,
as stated above my question is about the treeview-style-datawindow:
Is there a way to get the currently selected tree node?
I mean like "getSelectedRow" for other DW styles.
Otherwise I have to store the last selected tree node
(TreeNodeSelected-Event). But I don't like such workarounds cause you
never know for sure...

We are using PB 11.5.1

Thanks in advance for any helpful reply.
Chris


Chris Fauvel Posted on 2009-08-27 13:40:48.0Z
From: "Chris Fauvel" <Chris.Fauvel@gte.net>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4a8a4cc6$3@forums-1-dub>
Subject: Re: [TV-DW] Is there a "getSelectedTreeNode" anyway?
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a968ce0$1@forums-1-dub>
Date: 27 Aug 2009 06:40:48 -0700
X-Trace: forums-1-dub 1251380448 10.22.241.152 (27 Aug 2009 06:40:48 -0700)
X-Original-Trace: 27 Aug 2009 06:40:48 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89842
Article PK: 419030

Please let me know if you come up with something.

Yeah I'm not seeing anything that would be helpful to get the "currently"
selected tree node.

I have to drag/drop either the tree node or the leaf node depending if the
user wants to drag the group or the individual item in the detail band.

other than the treenodeselected event I'm not seeing a way to know the group
level let alone the value of the grouping/tree level.

I don't want to re-do this in a true TV object...uck..but might have to.

I had such high hopes for this presentation style.

Chris Too

"Chris" <spam@worldwide.com> wrote in message
news:4a8a4cc6$3@forums-1-dub...
> Hi,
> as stated above my question is about the treeview-style-datawindow:
> Is there a way to get the currently selected tree node?
> I mean like "getSelectedRow" for other DW styles.
> Otherwise I have to store the last selected tree node
> (TreeNodeSelected-Event). But I don't like such workarounds cause you
> never know for sure...
>
> We are using PB 11.5.1
>
> Thanks in advance for any helpful reply.
> Chris