Hi Everyone,

I have a situation where I have a variable on an input form that I set 
programmatically immediately before opening a dialog window (using the 
"Plain Window" window type).  When I move the dialog to the side (to see 
the input form, now in the background), the variable still has its "old" 
value.

I know the variable is being set because I tried setting the variable 
value to the clipboard before opening the dialog (the new value gets 
there).  When the dialog is closed, the variable is updated with the new 
value.

I've tried throwing in a REDRAW(variablename) and even a DELAY 
PROCESS(Current process;60) - but neither has any effect.

I noticed that the same effect happens even when an ALERT is called 
instead of opening a dialog - the variable does not display its new value 
in the background.  All of this is in the same process, of course.  I've 
tried using process variable displayed on the form as well as an object 
without a variable name (using Object Get Pointer to set the value) - same 
results.

It is important that the screen properly show the "new" value in the input 
form so it is visible in the background when the dialog is open.

Any thoughts?  Anyone seen this?  How to get a window to refresh before 
opening another window?  I was quite surprised that even the Delay Process 
didn't do it....

Many thanks!


Bob Miller
Chomerics, a division of Parker Hannifin Corporation




**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to