-
Q? Project Manager Closed
Short of a timer and a scheduled check of the environment.
Is there any way to tell that a user has Opened the Project Manager, then
used the "x" to close the Project Manager? I am most interested in any type
of hooks that I could add custom code to - to do something when either case
has occurred?
Probably, if just one of the conditions could be met - I would prefer to be
able to tell that the user "Closed" the Project Manager with the "x"
button...
tia
John C. Gunvaldson
Database Developer
www.dataquick.com
-
Re: Q? Project Manager Closed
If you have a ProjectHook class attached to a project you can do things when
the project is opened and when it's closed; whether it's closed because the
user clicked the X or closed VFP or is shutting down Windows, the same
routine will run.
-Anders
"John Gunvaldson" <foxnet_west@hotmail.com> wrote in message
news:3af4e566@news.devx.com...
> Short of a timer and a scheduled check of the environment.
>
> Is there any way to tell that a user has Opened the Project Manager, then
> used the "x" to close the Project Manager? I am most interested in any
type
> of hooks that I could add custom code to - to do something when either
case
> has occurred?
>
> Probably, if just one of the conditions could be met - I would prefer to
be
> able to tell that the user "Closed" the Project Manager with the "x"
> button...
>
> tia
>
>
> John C. Gunvaldson
> Database Developer
> www.dataquick.com
>
>
>
-
Re: Q? Project Manager Closed
Project Manager is a system define window so if you want to test if it
is open Try This:
if Wvisible("PROJECT MANAGER")
* Project Manager is open
* Put a statement here
endif
the "John Gunvaldson" <foxnet_west@hotmail.com> wrote:
>Short of a timer and a scheduled check of the environment.
>
>Is there any way to tell that a user has Opened the Project Manager, then
>used the "x" to close the Project Manager? I am most interested in any type
>of hooks that I could add custom code to - to do something when either case
>has occurred?
>
>Probably, if just one of the conditions could be met - I would prefer to
be
>able to tell that the user "Closed" the Project Manager with the "x"
>button...
>
>tia
>
>
>John C. Gunvaldson
>Database Developer
>www.dataquick.com
>
>
>
-
Re: Q? Project Manager Closed
Thanks Arnie,
The issue for me was being able to immediatly do some actions after the user
closed the Project Manager. Short of a timer, or a Project Hook like Anders
suggested - there wouldn't be a way / an event to trap - that indicated the
Project Manager was just opened or closed...
I'll look into a Project Hook - as it can be used for other processes as
well, and may be the only process that can trap this system defined window
when opened and closed...
Thanks Anders, Arnie
John C. Gunvaldson, MCP, CNE
Database Developer
www.dataquick.com
"Arnie" <Arniethebomb@hotmail.com> wrote in message
news:3af5fb94$1@news.devx.com...
>
>
> Project Manager is a system define window so if you want to test if it
> is open Try This:
>
>
> if Wvisible("PROJECT MANAGER")
> * Project Manager is open
> * Put a statement here
> endif
>
>
> the "John Gunvaldson" <foxnet_west@hotmail.com> wrote:
> >Short of a timer and a scheduled check of the environment.
> >
> >Is there any way to tell that a user has Opened the Project Manager, then
> >used the "x" to close the Project Manager? I am most interested in any
type
> >of hooks that I could add custom code to - to do something when either
case
> >has occurred?
> >
> >Probably, if just one of the conditions could be met - I would prefer to
> be
> >able to tell that the user "Closed" the Project Manager with the "x"
> >button...
> >
> >tia
> >
> >
> >John C. Gunvaldson
> >Database Developer
> >www.dataquick.com
> >
> >
> >
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks