create a popout field for users to input data

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
sms5138
Posts: 126
Joined: Mon Feb 23, 2015 11:49 pm

create a popout field for users to input data

Post by sms5138 » Tue Feb 24, 2015 12:04 am

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!

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: create a popout field for users to input data

Post by Simon » Tue Feb 24, 2015 1:21 am

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
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

sms5138
Posts: 126
Joined: Mon Feb 23, 2015 11:49 pm

Re: create a popout field for users to input data

Post by sms5138 » Tue Feb 24, 2015 1:47 am

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

SparkOut
Posts: 2947
Joined: Sun Sep 23, 2007 4:58 pm

Re: create a popout field for users to input data

Post by SparkOut » Tue Feb 24, 2015 8:37 am

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.

Post Reply