How to Reset ID's of Controls

Mark Wieder mwieder at ahsoftware.net
Mon Jan 27 18:50:41 EST 2014


Ender Nafi Elekcioglu <endernafi at ...> writes:

> 1. My background group has completely gone crazy.
> Now the group itself is *shared* and *background*, but its controls are not.
> Interesting, isn’t it?

That sounds wrong. Controls in a background group should also be in the
background.

> I have tens of cards, each one has hundreds of controls 
> and I create those controls on each time the user navigates to those cards.

Why? When I need to do something like that I will most likely show/hide
groups of controls rather than copying them or making them from scratch.
That way you don't have to be concerned about the id pool, as nothing is
being created or destroyed.

-- 
 Mark Wieder
 mwieder at ahsoftware.net







More information about the use-livecode mailing list