[data grid] can't hide one of the scrollbar
zryip theSlug
zryip.theslug at gmail.com
Wed May 26 13:23:09 EDT 2010
2010/5/25 Trevor DeVore <lists at mangomultimedia.com>
> On May 13, 2010, at 10:45 AM, Andre.Bisseret wrote:
>
> -----------------
>> on mouseUp
>> local DGRef,
>> -------
>> copy group "DataGrid" of group "Templates" of stack "revDataGridLibrary"
>> to this card
>> put it into DGRef
>> set the dgProp["show hScrollBar"] of DGRef to "false"
>> set the dgProp["show vScrollBar"] of DGRef to "false"
>> end mouseUp
>> -----------------
>> then, the V scroll bar remains visible
>>
>> If I invert the order of the 2 last lines then it is the H scroll bar
>> which remains visible
>>
>> In other words, the last line is not executed
>>
>> What am I doing wrong?
>>
>
> Nothing. There was an unbalanced "lock messages" call in one of the
> handlers that repositioned columns. I've fixed this for the next release. If
> you want to fix it in your own copy of the library find the ned of the
> handler _table.RepositionColumns and add 'set the lockmessages to
> msgsAreLocked' above the unlock screen call.
>
> =======
> ...
>
> set the lockmessages to msgsAreLocked
> unlock screen
> end _table.RepositionColumns
> ========
>
I have just updated my copy of the Data Grid Lib with all your recent posts,
thanks Trevor ;)
--
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
More information about the use-livecode
mailing list