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.

still one question to TreeViewOBJECT.....(powerbuilder 9.02)

3 posts in Objects Last posting was on 2005-04-16 09:21:55.0Z
M.Erlinger Posted on 2005-04-13 21:41:58.0Z
From: "M.Erlinger" <michael.erlinger@vienna.at>
Newsgroups: sybase.public.powerbuilder.objects
Subject: still one question to TreeViewOBJECT.....(powerbuilder 9.02)
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-Original-NNTP-Posting-Host: 62.212.169.105
Message-ID: <425d9222$1@forums-2-dub>
X-Original-Trace: 13 Apr 2005 14:41:54 -0800, 62.212.169.105
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 13 Apr 2005 14:41:55 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 13 Apr 2005 14:41:58 -0700
X-Trace: forums-1-dub 1113428518 10.22.108.75 (13 Apr 2005 14:41:58 -0700)
X-Original-Trace: 13 Apr 2005 14:41:58 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8334
Article PK: 735561

hello

i have another question/problem to my TreeViewObject:
in the selectionchanged-Event i retrieve any datwindows on the window - the
last statement in this event is
-) dw_detail.SetFocus()
-) dw_detail.SetColumn('c_text_column')
.......BUT - the datawindow dw_detail don't get the focus - i must alway
click with the mouse in the dw_detail-object - and then the
datawindow/column has focus for input.
i tested the setfocus-code in the clicked-event of the
TreeViewObject......but the same problem.


have anyone a clue - how i could set simple the focus to a datawindow after
i select a item in the treeview???
many thank's in advance
Michael


Brad Wery Posted on 2005-04-14 15:18:57.0Z
From: Brad Wery <bradweryatagricoreunited.com>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: still one question to TreeViewOBJECT.....(powerbuilder 9.02)
References: <425d9222$1@forums-2-dub>
In-Reply-To: <425d9222$1@forums-2-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: ugg10.unitedgrain.ca
Message-ID: <425e89dd@forums-2-dub>
X-Original-Trace: 14 Apr 2005 08:18:53 -0800, ugg10.unitedgrain.ca
Lines: 28
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 14 Apr 2005 08:18:54 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 14 Apr 2005 08:18:57 -0700
X-Trace: forums-1-dub 1113491937 10.22.108.75 (14 Apr 2005 08:18:57 -0700)
X-Original-Trace: 14 Apr 2005 08:18:57 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8335
Article PK: 735560

Try this: Post SetFocus(dw_detail)

Brad

M.Erlinger wrote:

> hello
>
> i have another question/problem to my TreeViewObject:
> in the selectionchanged-Event i retrieve any datwindows on the window
> - the
> last statement in this event is
> -) dw_detail.SetFocus()
> -) dw_detail.SetColumn('c_text_column')
> .......BUT - the datawindow dw_detail don't get the focus - i must alway
> click with the mouse in the dw_detail-object - and then the
> datawindow/column has focus for input.
> i tested the setfocus-code in the clicked-event of the
> TreeViewObject......but the same problem.
>
>
> have anyone a clue - how i could set simple the focus to a datawindow
> after
> i select a item in the treeview???
> many thank's in advance
> Michael
>
>


M.Erlinger Posted on 2005-04-16 09:21:55.0Z
From: "M.Erlinger" <michael.erlinger@vienna.at>
Newsgroups: sybase.public.powerbuilder.objects
References: <425d9222$1@forums-2-dub> <425e89dd@forums-2-dub>
Subject: Re: still one question to TreeViewOBJECT.....(powerbuilder 9.02)
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Response
X-Original-NNTP-Posting-Host: 62.212.169.105
Message-ID: <4260d92d$1@forums-2-dub>
X-Original-Trace: 16 Apr 2005 02:21:49 -0800, 62.212.169.105
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 16 Apr 2005 02:21:50 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 16 Apr 2005 02:21:55 -0700
X-Trace: forums-1-dub 1113643315 10.22.108.75 (16 Apr 2005 02:21:55 -0700)
X-Original-Trace: 16 Apr 2005 02:21:55 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8341
Article PK: 735567

Thank you - this works fine!!
Michael

"Brad Wery" <bradweryatagricoreunited.com> schrieb im Newsbeitrag
news:425e89dd@forums-2-dub...

> Try this: Post SetFocus(dw_detail)
>
> Brad
>
> M.Erlinger wrote:
>
>> hello
>>
>> i have another question/problem to my TreeViewObject:
>> in the selectionchanged-Event i retrieve any datwindows on the window -
>> the
>> last statement in this event is
>> -) dw_detail.SetFocus()
>> -) dw_detail.SetColumn('c_text_column')
>> .......BUT - the datawindow dw_detail don't get the focus - i must alway
>> click with the mouse in the dw_detail-object - and then the
>> datawindow/column has focus for input.
>> i tested the setfocus-code in the clicked-event of the
>> TreeViewObject......but the same problem.
>>
>>
>> have anyone a clue - how i could set simple the focus to a datawindow
>> after
>> i select a item in the treeview???
>> many thank's in advance
>> Michael
>>
>>