Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Getting the name of the active window

1,315 views
Skip to first unread message

mike chamanara

unread,
Jun 11, 2004, 4:02:11 PM6/11/04
to
Hello,

I am trying to include the name of the active window in the Help/About menu
option. This way when users are running the application they could refer to
Help/About and tell me exactly what the name of the window is and report that in
their problem report?

Thanks in advance

Mike Chamanara
DigitalNet

Bruce Armstrong [TeamSybase]

unread,
Jun 11, 2004, 9:25:00 PM6/11/04
to
Wouldn't the name of the window be in the titlebar of the active
window? And wouldn't the active window become the Help->About window
once you opened it?

On 11 Jun 2004 13:02:11 -0700, "mike chamanara"
<mike.ch...@digitalnet.com> wrote:

Bruce Armstrong [TeamSybase]
http://www.teamsybase.com

Two new books on developing with PowerBuilder
http://www.pb9books.com?source=newsgroups

Need code sample? Check out CodeXchange:
http://www.codexchange.sybase.com

ISUG Enhancement Requests
http://www.isug.com/cgi-bin/ISUG2/submit_enhancement

Preach the gospel at all times. If necessary, use words. - Francis of Assisi
http://www.needhim.org

---------------------------------------------------------------------
DISCLAIMER:

This newsgroup message is only intended for the recipient. Given that it
is a posting to a public newsgroup, that means if you can read this
message then you are the recipient. This message may contain information
that is confidential and protected from disclosure. And then again,
it may not.

Given that TeamSybase members are not employees of Sybase, the contents
of this message do not necessarily represent the views or policies of
Sybase. Given that TeamSybase is a diverse group of users of Sybase
products, the contents of this message do not necessarily represent the
views of a significant number of the members of TeamSybase. Given that the
author has mutliple personalities and hears voices in his head, the contents
of this message do not necessarily represent his own views.

Mike Chamanara

unread,
Jun 13, 2004, 10:08:04 PM6/13/04
to
Yes,you are correct and I wasn't thinking correctly, Well I guess I
need to place the name of the active window on my macro help.

Jim Smith

unread,
Jun 14, 2004, 8:21:14 AM6/14/04
to
I think he means before the about window becomes active/open.

Mike,

In the menu option for openingout window, you will need to getthe name of the
active sheet. In the script before you open the about window, have your MDI
window do a GetActiveSheet. Then get the window name and pass it to the about
window.

mdiframewindow.GetActiveSheet()

Look in help for more on this function.

I hope this helps.

Jim


On 11 Jun 2004 18:25:00 -0700,
in sybase.public.powerbuilder.powerscript

Jim Smith
jrsmithATduqlightDOTcom

Mike Chamanara

unread,
Jun 16, 2004, 4:23:02 PM6/16/04
to
Jim,

Thanks, it works.

Mike

bruce.a...@teamsybase.com

unread,
Oct 16, 2004, 12:16:18 PM10/16/04
to
You haven't received a response because you posted through Google,
which means the message never made it to the Sybase server. You
should repost your question using a standard newsgroup reader or the
web based newsreaders at my.sybase.com or www.pfcguide.com. Google is
great for searching the Sybase newsgroups, but you can't post to them
from there.

bruce.a...@teamsybase.com

unread,
Oct 16, 2004, 12:16:53 PM10/16/04
to
0 new messages