Solved

REFRESH NON FOCUSED FORM

Posted on 2011-03-15
1
401 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 42

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

Is Your Team Achieving Their Full Potential?

74% of employees feel they are not achieving their full potential. With Linux Academy, not only will you strengthen your team's core competencies but also their knowledge of of the newest IT topics.

With new material every week, we'll make sure that you stay ahead of the game.

Question has a verified solution.

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

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…
This article outlines some of the reasons why an email message gets flagged as spam on a recipient's end.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

691 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