tableField oddity

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: 10502
Joined: Wed May 06, 2009 2:28 pm

tableField oddity

Post by dunbarx »

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: 10416
Joined: Fri Feb 19, 2010 10:17 am

Re: tableField oddity

Post by richmond62 »

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 259 times
Post Reply