Datagrid Check boxes

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
bsouthuk
Posts: 261
Joined: Fri Dec 05, 2008 7:25 pm

Datagrid Check boxes

Post by bsouthuk » Thu Feb 03, 2011 7:20 pm

I have added check boxes to a column in my datagrid and I want the text in the same colums to show as True if the check box is ticked and False if the check box is NOT ticked.

This really should be straight forward but I have been at it for about 2 hours now.

Could someone please help me!

Thanks

Daniel

bsouthuk
Posts: 261
Joined: Fri Dec 05, 2008 7:25 pm

Re: Datagrid Check boxes

Post by bsouthuk » Fri Feb 04, 2011 12:40 pm

Is this not possible to implement or so simple that its not worth a response!

Any comments?

trevordevore
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1005
Joined: Sat Apr 08, 2006 3:06 pm
Contact:

Re: Datagrid Check boxes

Post by trevordevore » Fri Feb 04, 2011 3:47 pm

HI Daniel,

If the checkbox and text reside in the same column then it should just be a matter of setting the "label" of the checkbox to "TRUE" or "FALSE" based on the column value (which I assume you use to set the checked state of the checkbox).

Can you explain how you have set things up and what code you have tried up until now?
Trevor DeVore
ScreenSteps - https://www.screensteps.com

LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder

Post Reply