Hi David,
I always insert any dialog variable as global. In timers I or anyone checks
if the value for set timer is 0 or nothing then you don't have to call the
reset of it. It sends a unique number each time it is fired...
So try global for all variables and see what happens.
Bruce
Sent: Friday, February 20, 2015 5:09 AM
Subject: RE: Dialog, Global or Internal?
Hi Again David:
It depends on if VbScript uses object instances and I forget.
If it uses instances then you create a base definition, class with events,
for your dialog.
Then in any module you create the instance, instantiate the dialog, and that
instance of the dialog is then local to that method where it is
instantiated.
My only question would be if the VbScript way of handling UI objects like a
dialog attaches the events to the local instance or not.
If so your thought of a app-level script is a good idea. If not, I would go
with local dialogs or setup a way to identify which method, dialog, has
called into the event handlers for the dialog so you can interact with the
correct instance.
Rick USA
_______________________________________________
Any views or opinions presented in this email are solely those of the author
and do not necessarily represent those of Ai Squared.
For membership options, visit
http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/lab4me%40fltg.net.
For subscription options, visit
http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com
List archives can be found at
http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com
---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com
_______________________________________________
Any views or opinions presented in this email are solely those of the author
and do not necessarily represent those of Ai Squared.
For membership options, visit
http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/archive%40mail-archive.com.
For subscription options, visit
http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com
List archives can be found at
http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com