Solved

REFRESH NON FOCUSED FORM

Posted on 2011-03-15
1
353 Views
Last Modified: 2012-05-11
Hi Experts

I have Form1 with Text1 listbox. which displays the data from veriable Spellx.
by clicking a button I open Form2 and make some changes to Spellx veriable.
I would like to update form1 text1  listbox as I make changes to Spellx while still working on Form2.
Please help
Thanks
0
Comment
Question by:b001
1 Comment
 
LVL 41

Accepted Solution

by:
pcelba earned 500 total points
ID: 35140941
You may either find the calling form in _Screen.Forms[] collection:

FOR EACH loForm IN _Screen.Forms
  IF loForm.Name = "YourFormName"
    loForm.Refresh
  ENDIF
NEXT

or you may pass the Form1 reference to the Form2 and call it directly from Form2:

Form1.Button.Click:

DO FORM Form2 WITH THISFORM

and Form2 must contain PARAMETER statement in its Init method which you'll use as a reference for the Refresh.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Annoying text scroll in Textbox 10 80
Scrolling a grid 3 1,418
understanding loops vfp 7 78
FoxPro comparing columns 2 24
Microsoft Visual FoxPro (short VFP) is a programming language with it’s own IDE and database, ranking somewhat between Access and VB.NET + SQL Server (Express). Product Description: http://msdn.microsoft.com/en-us/vfoxpro/default.aspx (http://msd…
In  today’s increasingly digital world, managed service providers (MSPs) fight for their customers’ attention, looking for ways to make them stay and purchase more services. One way to encourage that behavior is to develop a dependable brand of prod…
This video discusses moving either the default database or any database to a new volume.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now