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.

custom visual object Get Focus event

2 posts in Objects Last posting was on 2007-02-02 14:55:35.0Z
marci wilken Posted on 2006-11-20 20:09:46.0Z
Sender: 44b1.45524d7e.1804289383@sybase.com
From: Marci Wilken
Newsgroups: sybase.public.powerbuilder.objects
Subject: custom visual object Get Focus event
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4562199a.5c50.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 20 Nov 2006 13:09:46 -0700
X-Trace: forums-1-dub 1164056986 10.22.241.41 (20 Nov 2006 13:09:46 -0700)
X-Original-Trace: 20 Nov 2006 13:09:46 -0700, 10.22.241.41
Lines: 21
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9124
Article PK: 736302

I have a window. On that window is a tree control and a
custom visual object. Within the custom visual object I
have numerous other custom visual objects. The cvos are
displayed sequentially on the parent making up a work sheet.
the cvos have various controls on them based upon there
requirements from rte fields to data windows and other
editing fields. Because of this layout the total of the
cvos is greater than the viewable area so the cvos are
scrolled. so far so good. The next objective is to allow
the user to tab between the cvos as if the entire page was
one large user object instead of individual objects. again
so far so good. Now the issue. As the user tabs down the
page I need a way/event/trigger for the cvos to know that it
now is the focused/active/??? cvo and to check to see if it
is completly visible. I haven't been able to find this
trigger. I tried activate, pbm_tcnsetfocus, I like the
idea of getfocusobject but it doesn't seem to trigger. I
really don't want to right an event into all the controls
that will call the parent cvo to tell it it now has focus.

Any suggestions would be helpful.


Millard F. Brown III Posted on 2007-02-02 14:55:35.0Z
From: "Millard F. Brown III" <millard.brown@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <4562199a.5c50.1681692777@sybase.com>
Subject: Re: custom visual object Get Focus event
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1807
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807
NNTP-Posting-Host: 204.86.34.1
X-Original-NNTP-Posting-Host: 204.86.34.1
Message-ID: <45c35ef7$1@forums-1-dub>
Date: 2 Feb 2007 07:55:35 -0700
X-Trace: forums-1-dub 1170431735 204.86.34.1 (2 Feb 2007 07:55:35 -0700)
X-Original-Trace: 2 Feb 2007 07:55:35 -0700, 204.86.34.1
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9227
Article PK: 736397

What about using the events of the tab?

--
Regards,
Millard [TeamSybase]

<Marci Wilken> wrote in message news:4562199a.5c50.1681692777@sybase.com...
> I have a window. On that window is a tree control and a
> custom visual object. Within the custom visual object I
> have numerous other custom visual objects. The cvos are
> displayed sequentially on the parent making up a work sheet.
> the cvos have various controls on them based upon there
> requirements from rte fields to data windows and other
> editing fields. Because of this layout the total of the
> cvos is greater than the viewable area so the cvos are
> scrolled. so far so good. The next objective is to allow
> the user to tab between the cvos as if the entire page was
> one large user object instead of individual objects. again
> so far so good. Now the issue. As the user tabs down the
> page I need a way/event/trigger for the cvos to know that it
> now is the focused/active/??? cvo and to check to see if it
> is completly visible. I haven't been able to find this
> trigger. I tried activate, pbm_tcnsetfocus, I like the
> idea of getfocusobject but it doesn't seem to trigger. I
> really don't want to right an event into all the controls
> that will call the parent cvo to tell it it now has focus.
>
> Any suggestions would be helpful.