Is Control a DataGrid
revdev at pdslabs.net
Thu Dec 22 01:49:14 EST 2011
I should have said a little more. From the DG API docs
> - get the dgControl of the target
> - Returns the long id of the data grid. Useful in row/column template
> behaviors when you need to get properties of the data grid.
On 12/21/11 10:45 PM, Phil Davis wrote:
> Hi Todd,
> This should work unless you use 'dgControl' as your own custom prop name
> 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
>> 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.
Professional Software Development
More information about the Use-livecode