On Aug 7, 2006, at 10:40 AM, Craig Hoyt wrote:
Thanks Terry for the reply. I do have my original pushbutton set to Index=0, I don't understand your statement about making sure Pushbutton1 has an index of '0'... Shouldn't it get set to '1' as it is cloned from the original which is '0'?
You are a bit confused here. I will explain later.
Either way this is not explained in the LR and the example in the LR 'as-is' does not function. You answered my question regarding cloning groups of controls (not what I wanted to here). I'll look into Containers (I do have the Pro version) - containers has gotten some bad press since 2005 was released. I'm not sure I want to go down that bumpy road.
They have been improving with each release.
I am still unable to clone a simple control. I still get a "class doesn't exist' error at the 'New' statement.
I can only reproduce this if Pushbutton1 does *not* have an index. If Pushbutton1 has an index of 1 then the first clone will have an index of 0. Subsequent ones will be 2,3,4,etc.
I have a pushbutton attached to my window, it has an Index of '0', The LR states that pb=New PushButton1 will be created from the original pushbutton and be named PushButton1. What the hell am I doing wrong? Can someone provide me a working example so I can tinker with it. I have no other source to figure this out myself.
I'll send you one off-list. (Built using 2005r2)
RS has done an extremely poor job of documenting RB and cloning controls has next to nothing to provide a user any hope of figuring it out on their own. Geoff I know you lurk... How about putting a priority on getting some quality documentation for your product. As a developer I know what a pain documentation is, but it is beyond necessary for a product such as yours and RS's grade for documentation has to get an 'F'. The days of relying on NewBurg's book are long gone. Step up to the plate boys...
Actually, all the cloning info in Matt Neuburg's R.B.T.D.G. still applies.
As far as the ContainerControl is concerned, 2005r2 has too many bugs in it for it to be useful. Sad to say but you should upgrade to the current release, or r4 when it becomes available next month, if you wish to use it.
Terry _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
