Is Control a DataGrid

Phil Davis revdev at pdslabs.net
Thu Dec 22 01:45:26 EST 2011


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, dunbarx at aol.com wrote:
> Perhaps the "focusedObject"?
>
>
>
> -----Original Message-----
> From: Todd Geist<todd at geistinteractive.com>
> To: How to use LiveCode<use-livecode at 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





More information about the use-livecode mailing list