Datagrid Basics

Ray Horsley ray at linkit.com
Thu Aug 19 12:32:48 EDT 2010


Zryip,

Thanks for the suggestion.  I'll give it a try.

Ray

On Aug 19, 2010, at 11:37 AM, zryip theSlug wrote:

> On Thu, Aug 19, 2010 at 3:58 PM, Ray Horsley <ray at linkit.com> wrote:
>> André, Zryip,
>>
>> Very helpful.  Thanks, especially to Trevor who has put together this
>> wonderful instructional site.  After combing through it I'm missing  
>> just one
>> thing.  Is there any way to 'lock' the first column when scrolling
>> horizontally?  In my case I'm using the first column to simply  
>> number the
>> lines so if there's any way to show line numbers and leave them  
>> locked on
>> screen when scrolling that would work too.
>
> As far as I know there is no way to lock a column in a data grid.
> The only trick I see is to use two datagrids. One for the fix column
> and the other one for the scrolling columns.
> By synchonizing the scrollbar of the both, you could obtain what you  
> want.
>
> The dgHScroll property could be helpful in this task, by reading the
> value of the scrolling DG and apply this value to the locked DG.
>
> Regards,
> -- 
> -Zryip TheSlug- wish you the best! 8)
> http://www.aslugontheroad.co.cc
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list