Solved

REFRESH NON FOCUSED FORM

Posted on 2011-03-15
1
362 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
There are many Password Managers (PM) out there to choose from. PM's can help with your password habits and routines, but they should not be a crutch you rely on too heavily. I also have an article for company/enterprise PM's.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

910 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

24 Experts available now in Live!

Get 1:1 Help Now