Is Control a DataGrid

Pete pete at mollysrevenge.com
Thu Dec 22 11:45:33 EST 2011


You can also check the dgProps["control type"].  For datagrids, this is set
to "Data Grid".

On Thu, Dec 22, 2011 at 7:03 AM, Todd Geist <todd at geistinteractive.com>wrote:

> Thanks!
>
> On Wed, Dec 21, 2011 at 10:45 PM, Phil Davis <revdev at pdslabs.net> wrote:
>
> > Hi Todd,
> >
> > This should work unless you use 'dgControl' as your own custom prop name
> > anywhere:
> >
> > if the dgControl of control x = empty then -- this is NOT a DG
> >    -- do stuff here
> > end if
> >
> > Phil Davis
>
>
> Todd
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>


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



More information about the use-livecode mailing list