How to select simultaneously different cells in table field

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

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
zouhair
Posts: 1
Joined: Fri Mar 28, 2008 2:11 pm

How to select simultaneously different cells in table field

Post by zouhair »

Hello,

I've searched the forum for an answer to my question but cannot find one.
So I post this question here, hope someone knows how to solve my problem.

The question is :

I got a table field with (in a simplified version) two columns and multiple rows.
When I click a cell in the second column, I want all the cells of this column to appear hilited (or selected, never got the substantial difference...).

Thanks for the help,

Zouhair.
Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark »

Hi Zouhair,

You have to emulate this, e.g. by putting a blue transparent rectangle over the column.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel »

Another option is to replace the single 'table' field with a pair of 'list' fields. They can be scripted to work in unison, and that will allow you to hilite individual cells as you see fit.
See this site for an example: http://www.rpi.edu/~simonk/technical.html

Hope this helped,

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
Post Reply