Basic Table Field with Checkboxes

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
RRobert
Posts: 151
Joined: Sat Feb 28, 2009 8:20 pm

Basic Table Field with Checkboxes

Post by RRobert » Wed Apr 15, 2015 7:53 pm

Hello,

Whats the best way to implement a checkbox in one column of a basic table field?
table_field.png
Basic Table Field with Checkboxes
table_field.png (3.26 KiB) Viewed 4402 times
Thanks,
Robert

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Basic Table Field with Checkboxes

Post by Klaus » Wed Apr 15, 2015 11:22 pm

Hi Robert,
RRobert wrote:Whats the best way to implement a checkbox in one column of a basic table field?
the best way is to use a datagrid! :D

The basic table field is just an erm... well, a basic table (text) field and does not support this.


Best

Klaus

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

Re: Basic Table Field with Checkboxes

Post by dunbarx » Thu Apr 16, 2015 12:03 am

What Klaus said.

You need to use the "Form" variant of the dataGrid, not the "Table". You must first skim and from then on read and reference the data grid user guide. Good luck.

Craig Newman

sritcp
Posts: 431
Joined: Tue Jun 05, 2012 5:38 pm
Location: Alexandria, Virginia

Re: Basic Table Field with Checkboxes

Post by sritcp » Thu Apr 16, 2015 1:24 am

You can use a Data grid table by customizing the column template. Follow the tutorial
http://lessons.runrev.com/m/datagrid/l/ ... -s-columns

Remember that the height of each row is the same (but settable) in a table.

Regards,
Sri.
Attachments
DGtableButton.png

phaworth
Posts: 592
Joined: Thu Jun 11, 2009 9:51 pm

Re: Basic Table Field with Checkboxes

Post by phaworth » Thu Apr 16, 2015 8:32 pm

Use Bernd's modTableField.
Pete

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”