No Dialog box on Windows Standalones

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
david_ff
Posts: 12
Joined: Mon Jan 29, 2007 1:15 am

No Dialog box on Windows Standalones

Post by david_ff »

Even though I am careful to check the "Ask Dialog" and "Answer dialog" boxes under the Inclusions tab when setting up a Windows standalone in the Distribution Builder, those dialogs do not appear when I run the standalone in Windows. Any ideas?
Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark »

Hi David,

Which version of Revolution are you using?
To start examining the problem, you could create a new empty stack with one button, containing the script

on mouseUp
put (there is a stack "Answer Dialog") into fld 1
end mouseUp

and one field. If the field contains "false" when running the stack as a standalone, something is indeed wrong with the standalone builder. Let us know the result.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
david_ff
Posts: 12
Joined: Mon Jan 29, 2007 1:15 am

Re: No Dialog box on Windows Standalones

Post by david_ff »

I am running Rev. 2.1.2. When I created a new mainstack as you suggested, its Windows standalone displayed the dialogs. I simply transferred all the scripts and objects over to the new file and it now works properly. (I was getting "false" using your script in the standalone from the original file.)

Thank you so much.
David
Mark wrote:Hi David,

Which version of Revolution are you using?
To start examining the problem, you could create a new empty stack with one button, containing the script

on mouseUp
put (there is a stack "Answer Dialog") into fld 1
end mouseUp

and one field. If the field contains "false" when running the stack as a standalone, something is indeed wrong with the standalone builder. Let us know the result.

Best,

Mark
Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark »

I'm glad it worked, David. Apperently, the standalone setting had become corrupted.

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Post Reply