customizing the answer dialogue box

The place to discuss anything and everything about running your LiveCode on Android

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
paulalsmith1000
Posts: 25
Joined: Sat Jun 15, 2019 10:09 am

customizing the answer dialogue box

Post by paulalsmith1000 » Sun Sep 08, 2019 8:31 pm

Evening Everyone

Just a quick question, does anyone know how to customize the background and/or text colour of the the answer dialogue box.

I searched around for a while and found variations on this:-

on preOpenStack
set the backgroundColor of this stack to black
if the environment is "standalone application" then set the backgroundColor of stack "Answer Dialog" to 231,231,231
set the loc of this stack to the screenLoc
end preOpenStack

It works fine on the desktop, but doesn't on android?

Kind regards

Paul

Klaus
Posts: 11090
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: customizing the answer dialogue box

Post by Klaus » Sun Sep 08, 2019 10:00 pm

Hi Paul,

the ASK and ASNWER diakogs are just stacks, but only on desktop system Mac/Win/Linux!

On the mobile platforms iOS and Android, these dialogs are supplied from the underlying OS
and you cannot modify them.


Best

Klaus

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2359
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: customizing the answer dialogue box

Post by jmburnod » Sun Sep 08, 2019 11:24 pm

Hi Paul,
When i need a custom dialog I use a group which works for OS X and iOS :D
Best regards
Jean-Marc

Post Reply

Return to “Android Deployment”