Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal forms calling Modal forms calling Non-modal window
Message
De
22/12/2004 00:37:28
 
 
À
21/12/2004 16:03:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
00971156
Message ID:
00971273
Vues:
16
>Hi, All and Happy Holidays,
>
> I have a program that has a modal form that calls other modal forms, one at a time. During one of these other modal form, that form calls a text file up in a window defined by "GROW FLOAT CLOSE NOMINIMIZE" and called with "MODIFY FILE ? NOMODIFY".
> The problem is that the user will sometimes, mostly by accident, click off the text file, causing it to close, but if the click was on one of the modal forms that is Not the current one up, the user will not be able to get back to the correct form and has to "kill" - task manager - the entire program.
> Does anyone have any idea on how to fix this problem.
>
>Thanks,
>Beth

Beth, this behaviour would be by design of what you have created. I think you would be better off creating your own form with an editbox on it which could expand to the size of the form. The editbox could optinally be read only and have scroll bars as appropiate. You would populate the editbox with STRTOFILE(). Then you could set it as modal as well which would keep it on top until closed.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform