Page 1 of 1

create a popout field for users to input data

Posted: Tue Feb 24, 2015 12:04 am
by sms5138
Hi,

I'm new to the site, and to using livecode, but enjoying it so far. I'm having a bit of difficulty however, and thought i'd see if i could get any assistance. I'm trying to create a button that will create a space for the user to enter data (such as a note, or message) then click ok to add the data to the desired location. essentially the button would create a gui that the user could interact with, but it would lay on top of the current card.

Any assistance would be greatly appreciated.

Thanks in advance!

Re: create a popout field for users to input data

Posted: Tue Feb 24, 2015 1:21 am
by Simon
Hi sms5138,
Welcome to the forum!

You could do this with a hidden group.
Your first button would show the group, the OK button would hide the group and put the contents of the field wherever you like.
The only thing you have to make sure of is that the group is on a layer above everything else.

Can you work with just that?

Simon

Re: create a popout field for users to input data

Posted: Tue Feb 24, 2015 1:47 am
by sms5138
Hi Simon,

Thank you for the reply! I think that will work quite well actually. Thank you for the reply. I'll give it a go, and see where it gets me!

Thanks again,

Sean

Re: create a popout field for users to input data

Posted: Tue Feb 24, 2015 8:37 am
by SparkOut
Simple, but ugly: see the "ask" dialogue.
Nicer, but more complicated if the hidden group idea doesn't work is a modal stack or substack. That won't have the same effect on mobile though, as the new stack will always fit the entire screen area available.