Hidden fields

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
dalkin
Posts: 176
Joined: Wed Jul 04, 2007 2:32 am
Location: Blackheath, Australia
Contact:

Hidden fields

Post by dalkin » Fri Aug 06, 2021 5:26 am

Can't seem to find an answer to this. Is there a workaround so that hidden fields can form part of a group including visible fields?
If we're treading on thin ice, well you might as well dance.

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

Re: Hidden fields

Post by Klaus » Fri Aug 06, 2021 8:47 am

Sorry, no idea what you mean?
Surely you can add a field to a group and hide it.

stam
Posts: 2679
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: Hidden fields

Post by stam » Fri Aug 06, 2021 9:20 am

dalkin wrote:
Fri Aug 06, 2021 5:26 am
Can't seem to find an answer to this. Is there a workaround so that hidden fields can form part of a group including visible fields?
Hi Dalkin,
Not sure what the question really is, but you can certainly group hidden and visible objects and toggle visibility of each programmatically as you wish.
You would treat non-visible objects in exactly the same way as visible ones (easier if you use View menu -> show invisible objects).

Was that the question?

dalkin
Posts: 176
Joined: Wed Jul 04, 2007 2:32 am
Location: Blackheath, Australia
Contact:

Re: Hidden fields

Post by dalkin » Fri Aug 06, 2021 10:37 am

Yep. All good. My bad. I have to use the Project Browser to make an object invisible though. Selecting View>Show Invisible Objects seems to have no effect if the invisible object is part of a group.
If we're treading on thin ice, well you might as well dance.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9648
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Hidden fields

Post by dunbarx » Sat Aug 07, 2021 2:28 pm

Show Invisible Objects seems to have no effect if the invisible object is part of a group.
I don't see this on Mac. A control in a group acts like any other. The group extent does adjust to include (or not) the control of interest.

Craig

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”