It definitely took me by surprise! I plan to submit to QCC but thought I would check if anyone else had come across this at all. Pete Molly's Revenge <http://www.mollysrevenge.com>
On Mon, Oct 24, 2011 at 11:09 AM, Peter M. Brigham, MD <pmb...@gmail.com>wrote: > On Oct 24, 2011, at 1:45 PM, Pete wrote: > > > I have run into a weird situation that ends up with duplicate control IDs > on > > a card which I thought couldn't happen. > > > > The scenario is that I copy a group containing two field controls from > one > > stack to a group in another stack. After copying, the two field controls > > both have an ID of zero! Needless to say, this plays havoc with anything > I > > do that tries to access the fields. > > > > I have worked around the problem by creating a new group, then copying > the > > two fields individually from the source group to the new one and that > works > > fine. > > > > Anyone ever come across this before? > > I've never seen this. Sounds like a bug, and a serious one at that. Control > IDs should be completely robust and behave as advertised in all cases. > Whatever you are doing seems to have exposed a crack in how the IDE (or is > it the engine?) assigns IDs. You should report this to the QCC and flag it > as urgent, in my opinion. I'd hate to have to start wondering about the > stability of object IDs. > > -- Peter > > Peter M. Brigham > pmb...@gmail.com > http://home.comcast.net/~pmbrig > > > _______________________________________________ > 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 > > _______________________________________________ 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