Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ideas on solution?
Message
 
 
To
31/01/2003 13:19:21
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00747185
Message ID:
00747766
Views:
16
Bill,

>Works like a charm, but I have 2 questions.

Cool!

>1. In QMF() do you know how I can get the name of the window that is going to be opened?
>DODEFAULT(oFile,cClassname) doesn't seem to do it, because Wontop() still has the Project name.
>I'm thinking about creating my own ProjectHook.AfterClosingFile() method, but I would need to have the name of the window.

You know the file name/type right before the designer is launched? (I've never tried using a project hook for anything so I'm flying blind here) The designers open up with predictable window titles based on the file opening.

>2. Do you know of a more elegant way to get a timer control to release itself?

AddObject() the timer to the _screen, then it can simply:
_screen.RemoveObject( this.name )
when it's work is done.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform