Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing form problem
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01092251
Message ID:
01092281
Vues:
15
Neil,

Pass a reference into the child form:
*cmdEdit.Click()
do form child with thisform
You need a parameter in the child form to accept the value, which you store away in a property
*child.Init()
lparameters roCallingForm
this.oCallingForm = roCallingForm
then you can refresh the form on the way out
* child.Destroy()
this.oCallingForm.Refresh()
this.oCallingForm = .null.
>I have a form which allows user to create subject and body for emails. On the form is a browse button which when clicked gives a list of emails that have been created in a listbox. The listbox on the form is bound to a table. When I select an email that I want to edit you select from the list box and then when you click OK the child form closes and the main form refreshes to show the email. The problem is my record pointer moves fine but the form does not refresh until I click on edit. How do i refresh the form when closing my other form please?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform