Alternatives to "answer"

Richmond richmondmathewson at gmail.com
Sat Apr 30 02:38:28 EDT 2011


On 04/30/11 01:37, tbodine wrote:
> Hi LiveCoders.
>
> I'm working on my first real LC project and now I've dug myself into my
> first LC hole. Hoping for some advice...
>
> I want to present user with a dialog box that is more attractive than the
> standard "answer" command. (Bigger type, transparent, icon buttons). I tried
> making a separate card in a separate stack that I could open over my
> mainStack card, but that is creating lots of errors now with "can't find
> card" messages when I use:
>
> call processingHandler of card "Main" of stack "Top".
>
> Basically, I want a semitransparent dialog box with two buttons to open over
> a mainStack card. The user's button choice needs to be returned to the
> mainStack script and the dlog Card closed.
>
> Any suggestions on how to do this?
>
I tend to use  a semi-transparent image, either made in Livecode and 
exported as a snapshot as a PNG and then reimported, or with GIMP; then 
another couple of faux buttons (i.e. images) for "Yes" and "No";
just make sure that your 'answer' images are in the top layers of the 
card so they don't appear peeping out from behind whatever controls you 
have for functionality and/oe aesthetics on the card.



More information about the use-livecode mailing list