Re: Duplicate Control IDs

2011-10-26 Thread Pete
Looks like the bug is indeed fixed in this version. Unfortunately, my code is part of an IDE plugin I'll be releasing soon so it will almost certainly run in versions prior to 4.6.4. I think I'll have to stick with the workaround of creating a group then copying the individual controls into it. P

Re: Duplicate Control IDs

2011-10-26 Thread Pete
Thanks Trevor, downloading it now. Pete Molly's Revenge On Tue, Oct 25, 2011 at 8:01 PM, Trevor DeVore wrote: > On Tue, Oct 25, 2011 at 4:06 PM, Pete wrote: > > > OK, so I guess it's not a simple as I thought. I can find no trace of > > 4.6.4 > > in the Release

Re: Duplicate Control IDs

2011-10-25 Thread Trevor DeVore
On Tue, Oct 25, 2011 at 4:06 PM, Pete wrote: > OK, so I guess it's not a simple as I thought. I can find no trace of > 4.6.4 > in the Release Notes accessed from the LC help menu or on the runrev web > site. You can download 4.6.4 (assuming it is available to you through the license you purcha

Re: Duplicate Control IDs

2011-10-25 Thread Pete
OK, so I guess it's not a simple as I thought. I can find no trace of 4.6.4 in the Release Notes accessed from the LC help menu or on the runrev web site. Pete Molly's Revenge On Tue, Oct 25, 2011 at 4:56 AM, Trevor DeVore wrote: > On Mon, Oct 24, 2011 at 1:45

Re: Duplicate Control IDs

2011-10-25 Thread Trevor DeVore
On Mon, 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 copyin

Re: Duplicate Control IDs

2011-10-25 Thread Claudi Cornaz
Hi Pete, This has happened to me several times, with a couple of different stacks. I put it already twice on this list. Last time was in november 2010. I found a routine in the IDE with a comment about the engine returning a id of zero sometimes. I found the script it in the button "revIDE" of

Re: Duplicate Control IDs

2011-10-24 Thread Bob Sneidar
Hi Pete. I replicated your conditions exactly, even to the point of naming my stacks and groups the same. I then copy/pasted your code into the message box, and after fixing it (some typos there) I executed it. I still cannot reproduce the issue. All works as expected. This is in release 5.0.

Re: Duplicate Control IDs

2011-10-24 Thread Pete
I thought it might be a refresh problem at first but hovering over the fields in the Application Browser (after refreshing it) displays a tooltip showing ID zero for both field controls and double clicking the second field control in the Application Browser brings up an inspector dialog showing ID

Re: Duplicate Control IDs

2011-10-24 Thread Richard Gaskin
In all of my attempts to get the engine to allow me to use the same ID for multiple objects, I've been unsuccessful. Is there the possibility that what you're seeing is a problem with the inspector not updating correctly? Or some other issue with the means of checking the ID rather than the I

Re: Duplicate Control IDs

2011-10-24 Thread Pete
Bob, I'm doing this by script and copying the whole group, not individual controls. Here's a more precise definition. Stack1 has a group "SourceGroup" containing two field controls "SourceField1" and "SourceField2". Stack2 has a group "DestGroup" with a couple of miscellaneous controls in it. I

Re: Duplicate Control IDs

2011-10-24 Thread Bob Sneidar
Hi Pete. I tried to duplicate this and cannot. I created 2 stacks. In stack one I had field1 and field2. In stack 2 I had field3 and field4. I grouped the fields in the second stack, copied the 2 fields in the first stack, selected the grouped fields in the second stack, clicked Edit Group, and

Re: Duplicate Control IDs

2011-10-24 Thread Bob Sneidar
So that I can try to replicate the problem, are you doing this programmatically or by hand? Are you using Edit Group before pasting (if you are using copy/paste)? Bob On Oct 24, 2011, at 10:45 AM, Pete wrote: > I have run into a weird situation that ends up with duplicate control IDs on > a

Re: Duplicate Control IDs

2011-10-24 Thread Pete
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 On Mon, Oct 24, 2011 at 11:09 AM, Peter M. Brigham, MD wrote: > On Oct 24, 2011, at 1:45 PM, Pete wrote: > > > I

Re: Duplicate Control IDs

2011-10-24 Thread Peter M. Brigham, MD
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