Datagrid Question

Marty Knapp martyknapp at comcast.net
Tue Sep 20 13:59:45 CDT 2011


Thanks zryip! That did the trick. Thanks to Pete as well. I appreciate 
you guys helping me out with this.

Marty K
> On Tue, Sep 20, 2011 at 8:22 PM, Marty Knapp<martyknapp at comcast.net>  wrote:
>> That seems to work great Pete. I've now lost the right alignment of the
>> column - it's reverted back to left. I see that there's a dgColumnAlignment
>> but I'm not figuring out how to make that work. The setting in the property
>> inspector is ignored . . .
> Hi Marty,
>
> If you have customized the column script, you have to manage the
> alignment yourself by using a line of script such as the following:
> set the textAlign of field 1 of me to the dgColumnAlignment[the
> dgColumn of me] of the dgControl of me
>
> You can place this line in the layoutcontrol handler, to have the
> column alignment updated after any change of the dgColumnAlignment
> column property.
>
>
> Best regards,




More information about the use-livecode mailing list