Slow Card Opeining - Causing problems

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
no1g8tor
Posts: 62
Joined: Fri Nov 23, 2007 3:01 pm

Slow Card Opeining - Causing problems

Post by no1g8tor » Fri Feb 26, 2010 4:16 pm

I have been programming in rev for 3 years now and have not run into this problem???

I have "Result" stack that just displays..well...results of calcs from other cards that I put here for the user to review. There is only 2 buttons on the stack that allow the user to go to next card or prev card and no other scripts. Basic Stuff.

The problem is that when I click on any of the 15 cards in the stack it takes about 1 to 5 seconds for the card to open. I should just pop up like the rest of the cards in my project. The card only has data fields and no graphics. Now once the card it open it will then just "pop up" in a split second.

The weird thing is that once this started happening my calculations went from about 2 secs to 20 secs to complete? Its almost like its trying to open each card when it calculates it.

I did try deleting the stack and creating a new on and the same thing happens?

I am running Windows 7 64bit and Runrev Studio 4 on a new dell XPS with the I7 processor so I know the machine speed is not the issue.

Please help as this is a real problem.

Thanks so much in advance.

Mike

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Slow Card Opeining - Causing problems

Post by Klaus » Fri Feb 26, 2010 4:48 pm

Hi Mike,

wild guessing:
Do you have a "pre-/opencard" handler in the main stack? If this is a substack!

You could also send me the stack, if you like, and I will check if it related to your machine.
klausATmajor-k.de

I am using a Mac, or is there something platform specific?!


Best

Klaus

no1g8tor
Posts: 62
Joined: Fri Nov 23, 2007 3:01 pm

Re: Slow Card Opeining - Causing problems

Post by no1g8tor » Fri Feb 26, 2010 5:36 pm

Klaus,

Thanks for the quick reply. I do have a On Opencard in the main stack but it does not have any effect on the other substacks just this one. I would be more than happy to send you the files. You wont be able to run them because it calls out to an external program to get the data but you can see what its doing and it has data in it to look at. If you click on any card in any other stack it just pops up but when you click on this substack it takes a couple second to open and it does cause the program execution to slow down. Just let me know where to send it.

Thanks so much.

Mike

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Slow Card Opeining - Causing problems

Post by Klaus » Fri Feb 26, 2010 6:05 pm

Hi Mike,

see my last post for my mail address!

no1g8tor
Posts: 62
Joined: Fri Nov 23, 2007 3:01 pm

Re: Slow Card Opeining - Causing problems

Post by no1g8tor » Sat Feb 27, 2010 12:49 am

Klaus,

Just sent the file to you. Let me know if you can find out whats going on.

Thanks so much.

Mike

Post Reply