tableField oddity

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

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

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

tableField oddity

Post by dunbarx » Wed Aug 21, 2019 6:16 pm

Make a table field, and put some text into a few lines of it. Put this into its script:

Code: Select all

on mouseDown
   click at "11,11" -- the value is not pertinent
end mouseDown
Click on any cell. The entirety of all "cells" in all lines before and including the "cell" clicked on becomes hilited.

Craig

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 3721
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: tableField oddity

Post by richmond62 » Wed Aug 21, 2019 7:38 pm

Not for me it didn't . . . Mac OS 10.14.6, LC 9.5

Actually what that did do is stop me being able to select any cell at all.
Attachments
Space Oddity.livecode.zip
Here's the stack.
(982 Bytes) Downloaded 9 times

Post Reply

Return to “Talking LiveCode”