Datagrid Column Resizing Message

Pete pete at mollysrevenge.com
Thu May 12 10:54:21 EDT 2011


Hi Ray,
The script has to be in the custom behavior for the column.  If you haven't
used custom column behaviors, probably easiest thing is to take a look at
the link I sent in my earlier email - lots of lessons on how to use
datagrids there including setting up a custom column behavior.  And I just
realised I answered my own question about how to figure out which column got
resized!
Pete
Molly's Revenge <http://www.mollysrevenge.com>




On Thu, May 12, 2011 at 4:14 AM, Ray Horsley <ray at linkit.com> wrote:

> Pete,
>
> Thanks for your response but I'm not having any luck with this.  I've tried
> the following short script:
>
> on layoutControl param1
>   put 1 into tmp
> end layoutControl
>
> in the group, the cd and the stack but none of these areas catch the
> layoutControl message.  Could it be some other message maybe?
>
> Thanks,
>
> Ray
>
> -----Original Message-----
> From: use-livecode-bounces at lists.runrev.com
> [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Pete
> Sent: Wednesday, May 11, 2011 11:33 PM
> To: How to use LiveCode
> Subject: Re: Datagrid Column Resizing Message
>
> I think, but not sure, that the layoutControl handler is what you want,
> although its sole parameter is a control rectangle so I'm not sure how you
> would determine what column got resized.  Sorry, haven't done anything with
> thiss but maybe you can find out more at
> http://lessons.runrev.com/spaces/lessons/manuals/datagrid
>
> Pete
> Molly's Revenge <http://www.mollysrevenge.com>
>
>
>
>
> On Wed, May 11, 2011 at 7:12 PM, Ray Horsley <ray at linkit.com> wrote:
>
> > Does anybody know what message is sent, and where I can trap for it,
> > when a user manually resizes a column by dragging the border between
> > column headings with the double arrow cursor?
> >
> >
> >
> > Thanks,
> >
> >
> >
> > Ray
> >
> >
> >
> > _______________________________________________
> > 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