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 <t...@geistinteractive.com>wrote: > Thanks! > > On Wed, Dec 21, 2011 at 10:45 PM, Phil Davis <rev...@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@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> _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode