Re: [Datagrid] How to detect a change in column width?
On Tue, Mar 29, 2011 at 1:58 PM, Phil Davis rev...@pdslabs.net wrote: Does the data grid send a message when the user changes the width of a column by dragging its header to a new width? I would love that, but I'm pretty sure the answer is no. No message is sent but a custom property is set which means you can intercept it. Try adding this to your data grid group script: *setprop* dgColumnWidth [pColumn] pValue ## Fulfill the commands of Phil ## ... pass dgColumnWidth *end* dgColumnWidth Does that help at all? -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com LiveCode Resources for Developers: http://livecode.bluemangolearning.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [Datagrid] How to detect a change in column width?
Thanks Trevor! That may help just enough. Phil On 3/30/11 5:56 AM, Trevor DeVore wrote: On Tue, Mar 29, 2011 at 1:58 PM, Phil Davisrev...@pdslabs.net wrote: Does the data grid send a message when the user changes the width of a column by dragging its header to a new width? I would love that, but I'm pretty sure the answer is no. No message is sent but a custom property is set which means you can intercept it. Try adding this to your data grid group script: *setprop* dgColumnWidth [pColumn] pValue ## Fulfill the commands of Phil ## ... pass dgColumnWidth *end* dgColumnWidth Does that help at all? -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
[Datagrid] How to detect a change in column width?
Does the data grid send a message when the user changes the width of a column by dragging its header to a new width? I would love that, but I'm pretty sure the answer is no. Trevor - is there a way to elevate the level of this to not yet? Thanks - -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode