Popup field?

LiveCode Builder is a language for extending LiveCode's capabilities, creating new object types as Widgets, and libraries that access lower-level APIs in OSes, applications, and DLLs.

Moderators: LCMark, LCfraser

Post Reply
pink
Posts: 285
Joined: Wed Mar 12, 2014 6:18 pm

Popup field?

Post by pink »

I want to be able to create a "form" widget. It was suggested to me that I could popup a field for the user to edit text which can then get saved back into the widget.

Is this true? if so, how do I do this?
Greg (pink) Miller

MadPink, LLC
I'm Mad, Pink and Dangerous to Know
livecodeali
Livecode Staff Member
Livecode Staff Member
Posts: 194
Joined: Thu Apr 18, 2013 2:48 pm

Re: Popup field?

Post by livecodeali »

Have a look at revIDECreateTransientTextField and associated handlers in the IDE - this is how we do it with the navigation bar property inspector.
[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm

Re: Popup field?

Post by [-hh] »

You could modal a temporary substack with a field and set the text property of the widget from it.
shiftLock happens
Post Reply