Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Overlapping forms
Message
De
02/03/2005 06:53:11
 
 
À
02/03/2005 06:41:25
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00991665
Message ID:
00991904
Vues:
12
Hello again Cetin

>PMFJI Terry,

Not at all. Thanks for all this :-)

>The form is not modal, hence code continues to run after "do form..." and visible = .t. ( or .Show()) is executed.

I presume by "The form" that you refer to the called form. If you read my reply to B, below, you'll see that I already made the called form modal and now there's no problem.

>Simple solution is to make it modal. Alternatively you could hide() caller form but pass form's reference to called form and it calls this.oCaller.Show() in its unload.

<snip>

>Yet another alternative is not to call another form. Instead import results are shown in a container temporarily added to 'caller' directly. ie:
>
>thisform.NewObject("ImportResults",...) && Container class resize itself to cover other objects
>thisform.ImportResults.Visible = .t. && Its 'Exit' button calls parent.parent.removeobject(this.parent.name)
>

Thank you. No, it's the error table results that I show in the called form. It has another function, with a print button to print out the error table. Anyway, it's sorted now.

Terry

>...However, I sussed the problem. The error display form should have been modal, as I want the user to >peruse it and force him to close it before going on. I must have temp. taken modal off, for testing, e.g. >so I could browse the table, and forgotten to reinstate it.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform