I think you need to :

set the dgProps["show vscrollbar"] of group "Datagrid" to false/true.


Pete
Molly's Revenge <http://www.mollysrevenge.com>




On Sat, Nov 5, 2011 at 12:29 PM, Michael Doub <[email protected]> wrote:

> I am trying to dynamically turn on and off a data grid scroll bar for
> testing a mobile app and am having difficulty.   Is there another property
> that I should be setting?
>
> on preOpenCard
>   if the environment is "mobile" then
>      set the vScrollbar of group "DataGrid" to false
>      setup_scroller
>   else
>      set the vScrollbar of group "DataGrid" to true
>   end if
>   put create_the_data ("Contacts") into tdata
>   set the dgData of group "DataGrid" to tdata
> end preOpenCard
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to