On Wed, Nov 16, 2011 at 9:14 PM, Glen Bojsza <gboj...@gmail.com> wrote:
> I have a stack with a single card and several objects that I have placed on
> it ... including a datagrid.
>
> In the application browser it shows 58 controls for the card (all the ones
> I expected).
>
> From script
>
> put the number of controls of card 1 of this stack
>
> I get 202 controls (which I would guess has to do with the datagrid).
>
> Is it possible via script to get the same controls that the Application
> browser reports?

You can count the number of controls in the card,
then subtract to this number, the number of controls inside the datagrid group:

put the number of controls of cd 1 - the number of controls of group
"myDataGrid"


Best regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.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

Reply via email to