Data Grid graphics & buttons

JB sundown at pacifier.com
Mon Mar 9 11:37:07 EDT 2015


Okay, I will do it.  Good luck
with the road trip helping out
your friend.  I know you won’t
see this until your done but I
thank you for taking the time to
respond even though you were
already busy.

John Balgenorth


On Mar 9, 2015, at 8:10 AM, Mike Bonner <bonnmike at gmail.com> wrote:

> I saw notice the same thing. In this case, the example actually means to do
> the same thing 3 times for 3 columns.  (I think)  So go through it once,
> add your button.  If you want an either/or situation, add your button and
> field (or whatever 2 controls you want to choose from) then use the
> behavior script to show/hide based on whatever criteria you need.
> 
> Basically, its a) create your columns, then create a custom column template
> for whatever column, edit the template to have the controls you want (if I
> can find it, I think there is an example of setting up a checkbox in a
> column somewhere)  then edit the behavior script as needed to provide your
> functionality.   Do the same for each column you need to customize.
> 
> Headed out for a road trip to help a friend. Good luck!
> 
> On Mon, Mar 9, 2015 at 12:06 AM, JB <sundown at pacifier.com> wrote:
> 
>> After going to the link I see that is the
>> same on Dave gave me.  I appreciate
>> both of you providing me the link and
>> it appears to be the only way to go.
>> 
>> My problem with the link is when it says
>> in this example he has added 3 controls
>> already.  Sometimes I can be really dumb
>> and not see what is right in front of me.  I
>> pulled the same controls on the template
>> I was editing which I chose twice to edit it
>> like it said but I could not get the controls
>> positioned in the Row Template Background
>> like it shows his are.  Mine were placed at
>> the bottom and I could not figure out how
>> to move them up.
>> 
>> Maybe I need to leant the Forms example
>> first.  Is that required to work on tables or
>> am I just doing something really stupid?
>> 
>> John Balgenorth
>> 
>> 
>> On Mar 8, 2015, at 8:39 PM, JB <sundown at pacifier.com> wrote:
>> 
>>> Thanks for the link, Mike!
>>> 
>>> John Balgenorth
>>> 
>>> 
>>> On Mar 8, 2015, at 8:27 AM, Mike Bonner <bonnmike at gmail.com> wrote:
>>> 
>>>> Look here:
>>>> 
>> http://lessons.runrev.com/m/datagrid/l/7311-how-do-i-customize-a-table-s-columns
>>>> 
>>>> 
>>>> On Sat, Mar 7, 2015 at 10:54 PM, JB <sundown at pacifier.com> wrote:
>>>> 
>>>>> Is there a way to set a graphic or button in
>>>>> a data grid table column using a script?
>>>>> 
>>>>> So if I want line 12 of column name to be
>>>>> a graphic can I change the behavior like
>>>>> I can with Haken’s script that modifies the
>>>>> number format and instead of displaying a
>>>>> different value for the number display either
>>>>> a graphic or button instead?
>>>>> 
>>>>> John Balgenorth
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> use-livecode mailing list
>>>>> use-livecode at lists.runrev.com
>>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>>> subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>>> 
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list