At 10:03 AM 11/25/2008, Alex Sisk wrote:
Here is a relatively quick question. To keep it simple:
Form 1 Contains a Variable Lookup ListView
Form 2 Contains a Button
I am trying to create an on-click EEP for the button on Form 2 to
issue a PROPERTY...REFRESHLIST command for the ListView on Form 1.
(this same button would also be closing Form 2)
First, you need to take your time, learn and understand the logic
of using "MDI Forms" and then all PROPERTY/GETPROPERTY commands to
manage non-focused MDI forms.
Example:
-- First Form
EDIT USING MDI_FormNavigator
-- On After Start (MDI_FormNavigator Form) brings up the second form
EDIT USING MDI_Customers ORDER BY Company MDI AS 'Customers'
-- On After Start (MDI_Customers) brings up the third form
EDIT USING MDI_Contacts MDI AS 'Contacts'
-- and so on ...
In this scenaio, while working in "MDI_Customers" form, if you wish
to refresh a Variable Lookup ListView on "MDI_Contacts" form, you
would use the following PROPERTY command:
PROPERTY 'MDI_Contacts|ContactListView' REFRESHLIST 'TRUE'
Notice the specific PROPERTY command.
A sample application with all details and code is also available at:
2008 SAT Sample Applications: http://www.rupdates.com/sat2008/
R:BASE 7.6 Folder: C:\RBTI\2008_RBG76_SAT\DesigningMDIApplications
Database: MDIForms
Command File: DesigningMDIApplications.DAT
R:BASE V-8 Folder: C:\RBTI\2008_RBG8_SAT\DesigningMDIApplications
Database: MDIForms
Command File: DesigningMDIApplications.DAT
Very Best R:egards,
Razzak.