Stand alone program hesiatates when you click first button..

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
TodayIsTheDay
Posts: 56
Joined: Sat Jun 20, 2009 2:41 pm

Stand alone program hesiatates when you click first button..

Post by TodayIsTheDay » Mon Oct 12, 2009 4:43 pm

I have 2 stand alones I've built. (both pretty simple)

In one program there are 7 buttons on the main screen. They are used to go to other screens.

One the other program it has some icons as buttons on the main screen.

Once you click to run them, the main screen loads just fine...
BUT...both programs hesitate for 3-4 seconds (i.e- freeze up) before they jump to the next screen when you click a button....

I've tested it on a couple of different machines with same result.

Any ideas what might cause this?

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

Re: Stand alone program hesiatates when you click first butt

Post by Klaus » Mon Oct 12, 2009 5:07 pm

TodayIsTheDay wrote:...
Any ideas what might cause this?
As always, we are no clairvoyants, so please show us some scripts of the button(s) clicked and the "pre-/opencard" handler of the target screen you are navigating to if there is any.


Best

Klaus

TodayIsTheDay
Posts: 56
Joined: Sat Jun 20, 2009 2:41 pm

Post by TodayIsTheDay » Mon Oct 12, 2009 7:34 pm

I apolgize. That's just it. There is nothing special going on with scripting.

In development, either program works perfect.

Code: Select all

on Mouseup
go card "cardname"
end Mouseup
There is no preopen card script.... (could that be the problem?)
Should I be doing something here?

Make the stand alone, any button you click on either program will hang the program for 3-5 seconds....then jump to the correct page.

After you click any one button the first time the program is as fast as you think it would be...

Post Reply