Strange field behaviour

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
RossG
Posts: 247
Joined: Thu Jan 08, 2015 7:38 am

Strange field behaviour

Post by RossG » Thu Mar 03, 2016 9:40 pm

I have a field in a group which should display a number but doesn't.
When I select the group and click on "Edit Group" the number is
in the field.

Another field which displays the difference between this field and
another shows the correct difference.

BTW the errant field is set to "Opaque".

Similar fields in the same group all work as expected.

Suggestions appreciated.

quailcreek
Posts: 746
Joined: Sun Feb 04, 2007 11:01 pm

Re: Strange field behaviour

Post by quailcreek » Fri Mar 04, 2016 12:11 am

What LC version? What settings do you have applied to the grp?
Tom
MacBook Pro OS Mojave 10.14

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10331
Joined: Wed May 06, 2009 2:28 pm

Re: Strange field behaviour

Post by dunbarx » Fri Mar 04, 2016 12:22 am

Hi.

A long shot, but is the foreground color of the field in question black? The text in fields will go blank if not.

Craig Newman

RossG
Posts: 247
Joined: Thu Jan 08, 2015 7:38 am

Re: Strange field behaviour

Post by RossG » Fri Mar 04, 2016 1:58 am

Started with LC 7.0.1 and continues in 7.1.1.
Group setting same as field.

No color set for the foreground.
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.

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

Re: Strange field behaviour

Post by Simon » Fri Mar 04, 2016 3:43 am

I think what Craig was suggesting is that your foreground color is the same as your background color so that it appears as if there is no content.
Easy way to test is the drag the cursor over the field with the left btn down (err select the contents of the field). Double err... turn autoHilite on.
OK so that test is not easy...

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

RossG
Posts: 247
Joined: Thu Jan 08, 2015 7:38 am

Re: Strange field behaviour

Post by RossG » Sun May 15, 2016 1:08 am

This problem has something to do with copying a field.

It might have been me, but seems strange that there
can be two fields with the same name and the original
gets the input so it doesn't show because it's behind the copy.

Anyway I now know how to fix, so progress made.
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.

Post Reply