Cannot focus on a datagrid??

Bob Sneidar bobs at twft.com
Mon Dec 19 16:39:48 EST 2011


Yup, and in my case, I have to do it after setting the dgColumns each time, which I do a lot. I just found the code that set the default to 40 and changed it to set the default to 20. 20 is PERFECT for checkboxes without labels! I just hope it doesn't break something later!

Bob


On Dec 19, 2011, at 12:30 PM, Trevor DeVore wrote:

> On Mon, Dec 19, 2011 at 2:59 PM, Bob Sneidar <bobs at twft.com> wrote:
> 
>> I will give that a try! On another note, I have run into a problem with
>> setting the dgProp["column widths"] to a list containing a vlue something
>> less that the hard minimum of 40. I found in the datagrid library where it
>> sets the minimum column width of new columns to a literal value of 40, so I
>> changed it to 20. Having seen how it's done, I do not suppose there is a
>> command to set the defaultMinimumColumnWidth to something, so this would be
>> a great thing to add in the future. Not sure if there are unseen
>> ramifications though.
> 
> 
> There is a setting for that. You have to set the dgColumnMinWidth for each
> column.
> 
> -- 
> Trevor DeVore
> Blue Mango Learning Systems
> www.clarify-it.com    -    www.screensteps.com
> _______________________________________________
> 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