On Jul 11, 2008, at 11:19 AM, Brad Lowry wrote:
I *cannot* believe that this crucial expansion of AllowUserAbort is
not in the help system prominently with links to a more robust
explanation of its effect on the whole new Multiple Windows
paradigm (and its really tough implications with Record Ownership
if not handled properly). I shouldn't have to stumble over this!
(Or was I missing something obvious -- totally possible :-)
Hi Brad,
Glad you found some joy in FileMaker ;-) I have been using this
routine similar to this to lock windows for years now :
Allow User Abort [OFF]
Loop
Pause/Resume Script []
End Loop
And now that you can pass script parameters, it become even more
useful. I wish I knew you did not know about it about 5 years ago. I
would of shared it with you. That being said, from a programming
stand point, it would be nice if FileMaker would offer us a:
Set Window Options [Close: ON, Minimize: ON, Maximize: OFF]
and remove the buttons according to settings. DEFAULT could be ALL ON.
----
Another little trick with the new multiple window scheme: You can pop
open a new window OFF-SCREEN to use in your processes.
For example:
New Window [Height: 0, Width: 0, Top: Get(WindowDesktopHeight), Left:
Get(WindowDesktopWidth)]
I usually create a sub-script called "Process Window" and uses it in
other scripts.
I find that in FMP9, I find process move fast when done OFF-SCREEN.
Weird huh???
Maybe a script that uses this would look something like this:
Allow User Abort [OFF]
Set Error Capture [ON]
Commit Record/Request []
Perform Script [Process Window]
Go To Layout [Whatever]
Stuff
Stuff
Stuff
Close Window []
You original window will remain intact and unaltered. The only
problem is that you must make sure you close it via the same script
otherwise it just lingers there hidden.
Maybe this is helpful to someone ;-)
Take care!!!
Don Wieland
D W D a t a C o n c e p t s
~~~~~~~~~~~~~~~~~~~~~~~~~
[EMAIL PROTECTED]
Direct Line - (714) 389-4026
Integrated data solutions to fit your business needs.