Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Close alternate after nowait
Message
De
08/10/2010 15:32:25
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01484505
Message ID:
01484531
Vues:
29
You're welcome.

>i'll put that one in my notes as well - thanks tore.
>
>k
>
>>Actually I found this out recently myself, it's a really handy feature. And remember that juststem() can be used to find the name of teh editor window.
>>lcFile='c:\yourpath\yoursubpath\yourfile.txt'
>>lcWindow=juststem(lcFile)
>>modi file (lcFile) nowait
>>Release Windows (lcWindow)
>>
>>>thanks tore - that is a revelation!!! another mystery unveiled.
>>>
>>>k
>>>
>>>>Your editor window will normally be given the same name as the file you modify, minus the extension. So you can do "anything" with it.
>>>>
>>>>Move Window m To 10,10
>>>>Release window m
>>>>>I have created a text file - open the text file and offer menu asking what to do with the report.
>>>>>after the user makes the selection i would like to close specifically the window that displays the text
>>>>>i can do this by close all but that closes up the complete shop - is there a code i can use to simply close the text window
>>>>>(I can create a tempwindow - activate a deactivate it and deal with it this way - but am curious about this specific text window control)
>>>>>
>>>>>thanks
>>>>>k
>>>>>
>>>>>CLOSE ALTERNATE
>>>>>modi file m.txt nowait
>>>>>do whatdo &&& this is a menu asking what to do with report
>>>>>*** close the text window???
>>>>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform