Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 9:36 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Drawline Prob
PostPosted: August 17th, 2011, 9:58 am 
Offline

Joined: April 27th, 2006, 1:34 pm
Posts: 37
Location: Belfast
Opus: 9.03
OS: Win 7
System: i5 - 6gig RAM
Would anyone please like to check out the attached file and give me an idea why it works ok in editing mode and not when published. I cant think anymore!!
Cheers


You do not have the required permissions to view the files attached to this post.


For this message paulM has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Drawline Prob
PostPosted: August 18th, 2011, 10:57 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
I think it's a design issue. It's been while since using drawing tools but using the reload page to clear the drawing does work - I checked our geopaper application: http://www.repository.interaktiv.co.uk/geopaper/


The difference is that I use arrays and OOP to handle the drawing / re-drawing or new drawing on the page / reset page. This is similar to tracking clones and I think it may have been discussed before.


Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Drawline Prob
PostPosted: August 18th, 2011, 4:28 pm 
Offline

Joined: April 27th, 2006, 1:34 pm
Posts: 37
Location: Belfast
Opus: 9.03
OS: Win 7
System: i5 - 6gig RAM
Hi Mack
Thanks for the reply.
I just want to revisit a page and draw a line between two objects, seems strange that I cant. But as allways with opus theres more than one way to skin a ...... (sensitivity required - you might be a _ _ _ lover Mack). Would it be possible for you(or anyone else) to push me in the right direction.
Thanks again
Cheers
Paul


For this message paulM has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Drawline Prob
PostPosted: August 18th, 2011, 5:11 pm 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
[Lar EDIT: oops. I thought I had got your example working. But I jumped the gun, as it did not work when published. So I've removed what I prematurely wrote.]

_________________
_good things come to those who wait(0)_


For this message Lar_123 has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Drawline Prob
PostPosted: August 18th, 2011, 6:03 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Hi Paul,

Prefer beer but cats are okay.

Here's a working example. It uses a new clone each time the page loads.

Mack


You do not have the required permissions to view the files attached to this post.

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Drawline Prob
PostPosted: August 18th, 2011, 8:42 pm 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
Paul, I'm sure Mackavi has given you a robust and real solution (with clones and specific handling).

I think I have a simple workaround (which I fail to understand why it would work :shock: )

Simply do this: Instead of Refreshing the Current Page, go to another PageX and then come back to Page1.
You could have a very small size PageX in a separate Chapter, with one button the User presses to 'Continue' -- simply have Action to Goto Page1.
You could leave the User out of it, and do the same thing with an On-show Trigger for PageX and have the redirect back to Page1 execute automatically. (maybe a wait(0) if needed).

I think I recall some prior discussion in the forum about such tricks. Does anyone have reason 'why'?

_________________
_good things come to those who wait(0)_


For this message Lar_123 has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Drawline Prob
PostPosted: August 19th, 2011, 10:59 pm 
Offline

Joined: April 27th, 2006, 1:34 pm
Posts: 37
Location: Belfast
Opus: 9.03
OS: Win 7
System: i5 - 6gig RAM
Hi Mack & Lars
Really appreaciate your time and efforts. Both solutions work but I can understand Macks better and will proceed with that. So Lars I owe you a pint and Mack I owe you a pint and a tin of cat food.
Cheers Lads
Paul :lol:


For this message paulM has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Drawline Prob
PostPosted: August 20th, 2011, 5:34 am 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
Paul,
Sorry to confuse. Maybe too much detail.

For others who may encounter a similar problem, the workaround (in this case) is simple:
Do not RESET the current Page.
Instead, navigate to another Page and then return to Page you were on. (assumes you have saved data in Pub level variables, or written to file, etc. for any states you wanted to restore).

_________________
_good things come to those who wait(0)_


For this message Lar_123 has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Drawline Prob
PostPosted: August 20th, 2011, 11:47 am 
Offline

Joined: April 27th, 2006, 1:34 pm
Posts: 37
Location: Belfast
Opus: 9.03
OS: Win 7
System: i5 - 6gig RAM
No probs Lars
One more question.. if I use Macks solution do I need to distroy the unused clones as I will be going back and forth to the page, so many clones may be created or does this matter.
Cheers
Paul


For this message paulM has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Drawline Prob
PostPosted: August 20th, 2011, 11:53 am 
Offline

Joined: April 27th, 2006, 1:34 pm
Posts: 37
Location: Belfast
Opus: 9.03
OS: Win 7
System: i5 - 6gig RAM
Oups - Looks like clones are destroyed when I leave the page so everythings fine - just ignore me.
Paul


For this message paulM has been thanked by : mackavi


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 43 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group