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 On 12/21/11 10:31 PM, dunb...@aol.com wrote:
Perhaps the "focusedObject"? -----Original Message----- From: Todd Geist<t...@geistinteractive.com> To: How to use LiveCode<use-livecode@lists.runrev.com> Sent: Wed, Dec 21, 2011 7:24 pm Subject: Is Control a DataGrid Hello, When Looping through controls on a card, how does one determine if the current control is a DataGrid? Actually I want to know that it is NOT a DataGrid. Thanks Todd
-- Phil Davis PDS Labs Professional Software Development http://pdslabs.net _______________________________________________ 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