Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently October 5th, 2024, 10:16 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: debugging script
PostPosted: November 14th, 2005, 11:47 pm 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Hi

Like a leaky roof on an old house, each time one leak is plugged, another shows up.

The script to save and reset display of objects in the diagram behaves in an unpredictable manor. In preview, when cloned objects are draged and dropped into the diagram, save is clicked, then navigate to the next or previous page, return and click reset, voila, all is displayed nicely.
Should the viewer save a blank diagram, OK. No problem.

However, fail to save, navigate away, return and reset and, even if objects had been saved earlier, but not last time, the diagram is blank. Debug trace shows the data but no display. Then an additional reset begins to degrade the data to empty, error messages, etc.-a mess!

An update: I may have solved this issue by disabling the reset button pre-show if atleast one data txt file does not exist (would produce a blank return). Also, after the reset button runs its script, I could disable it for the particular viewing, so it can't be accidentally clicked again.

Will check if this works.

Other ideas are welcome.

Kind Regards,
Stephen


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group