Hacking the table field

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

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

Hacking the table field

Post by dunbarx » Thu Feb 06, 2020 12:27 am

Aha.

I did this several times in a row, then ran to this forum.

I made a new table field. I clicked in a "cell", opening the "phantom" editable field. Immediately, from the toolbar, I chose the edit tool and noticed that the phantom was still blinking away, with its focusColor intact. Since I was in edit mode, I clicked and dragged the table field itself. The phantom field was left stranded in its original location. I then double-clicked on the phantom and got the PI which gave its name as, say, "Cell Edit 2,3".

I was able to move the actual table field around at will, but the phantom resisted all such attempts to so engage it.

But at least I now know that the phantom field is indeed created on the fly, likely from something lurking in the "Edit Cell" property, and is named based on the table field "cell" initially selected.

Now it does not work any longer.

Aha. I did it again. Aha, now it does not work anymore. And now it does, and again I am able to isolate the phantom. And now LC quit.

Aha.

Craig

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

Re: Hacking the table field

Post by SparkOut » Thu Feb 06, 2020 1:12 am

Patient: "Doctor, doctor! It hurts when I do that".

Doctor: "Well, don't do that then."

:lol:

Post Reply