Jim,
 
Check your email.

I created a simple form to show you the elements of MDI.
Unload it into your RRBYW14 directory and load the form.
 
It is basically two variable list views. The first selects
the customer and the second selects the contact. For each
click of the contact, an MDI form will open in a different
screen location. When you click on the customer again, all 
MDI forms will close and the contact list will show the new 
customer selection to start the process all over again.
 
When you are dealing with MDI, you can't always just grab
your existing form and use. MDI must be able to stand on
its own.
 
In your code when you issue
EDIT USING myform
the program stops until you are done dealing with myform.
When you issue
EDIT USING myform MDI AS 'myformMDI'
the code continues on
 
There is a form timer to display any saved changed to the
called MDI form(s).
 
Make sure to check all the Form EEPs and OnClick EEPs to
see what is happening.
 
I hope it helps.
 
Jan

 


-----Original Message-----
From: "Jim Belisle" <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Fri, 11 Jun 2010 14:29:48 -0500
Subject: [RBASE-L] - RE: MDI forms


I have never done anything quite that involved with the forms.
Is there a sample application either in RRBYW14 or on the web site I could 
peruse?
 
Jim 
 



From: [email protected] [mailto:[email protected]] On Behalf Of Dennis 
McGrath
Sent: Friday, June 11, 2010 2:26 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: MDI forms
 
One could program their main form to save its top/left coordinates to 
variables.
A timer on any child forms can compare those and move the forms to match the 
main form.
That way, each session can be moved to a different location and the child 
forms will display there too.
A little more programming allow the child form to save its coordinates to a 
nother set of variables and a timer on the main form moves it to match.
Done right it is pretty conventient.
 
Dennis McGrath
 



From: [email protected] [mailto:[email protected]] On Behalf Of Jim Belisle
Sent: Friday, June 11, 2010 12:00 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: MDI forms
 
Dennis,
 
My sales people will agree with you wholeheartedly on your statement (and so 
do I).
Until the time of scoped variables, I will inform them of their use of 
multiple sessions.
 
BTW, they mention a cascading effect when using multiple sessions.
They mention if they have three sessions of the same form open, they have to 
click through to the right one.
Will that always be the case or do I need to add some code somewhere to give 
them what they want?
 
Jim
 
 



From: [email protected] [mailto:[email protected]] On Behalf Of Dennis 
McGrath
Sent: Friday, June 11, 2010 10:59 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: MDI forms
 
The ability to manage the same type of job multiple times is critical in a 
sales situation.
Without it, it is impossible to interact with live customers properly.
One cannot possibly be forced to finish one task before doing the same task 
for someone else.
 
The day RBASE would let you open multiple sessions WAS an incredible 
milestone.
 
The day RBASE implements scoped variables (a variable can be scoped as 
global, local to a form, or local to a command file, or even local to a 
block of code) that will be a HUGE step forward.
 
Dennis McGrath
 



From: [email protected] [mailto:[email protected]] On Behalf Of Jim Belisle
Sent: Friday, June 11, 2010 10:03 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: MDI forms
 
Dan,
 
As I figured. Just thought I would check it out.
Once people are used to doing things a certain way, it is hard to take it 
away.
 
Jim
 



From: [email protected] [mailto:[email protected]] On Behalf Of Dan Goldberg
Sent: Friday, June 11, 2010 9:45 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: MDI forms
 
I put in an enhancement request a while ago to implement global variables 
and local variables.
 
I would like to do mdi on some of my forms but without having variables 
local to the form it is not an option.
 
The only workaround is to open another session.
 
Dan Goldberg
 



From: [email protected] [mailto:[email protected]] On Behalf Of Jim Belisle
Sent: Friday, June 11, 2010 7:26 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: MDI forms
Dennis,
]
They now do multiple sessions. 
Since we did not always use an application in 6.5, through the RBASE 
explorer they were able to open the form multiple times in one session.
Now I do not allow them to use the explorer so I was just wondering about 
the MDI method.
I do see a potential problem with the form being open multiple times in the 
same session.
 
Jim
 



From: [email protected] [mailto:[email protected]] On Behalf Of Dennis 
McGrath
Sent: Friday, June 11, 2010 9:15 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: MDI forms
 
Jim,
 
RBASE has always used global variables.
 
You ran a session of RBASE for each copy of the form.
Each session had its own copy of the variables.
They were global only in the context of each session.
 
It is the same in 7.6.
 
That said, perhaps there are folks that have done what you want.
I wouldn’t want to go there.
 
Dennis McGrath
 



From: [email protected] [mailto:[email protected]] On Behalf Of Jim Belisle
Sent: Friday, June 11, 2010 8:39 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - MDI forms
 
In the past, my sales people were able to bring up multiple copies of the 
Order form (in the edit mode) when talking with customers about their 
orders.
In 6.5 they got used to being able to do this, leave the form up, then going 
back to finish notes etc on the orders.
 
In 7.6 (latest version) I understand we use global variables so can I make 
it so they can do this even using MDI forms?
 
Jim

Reply via email to