Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ideas on solution?
Message
 
 
À
31/01/2003 13:19:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00747185
Message ID:
00747766
Vues:
18
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform