I'm trying to clone controls... I keep getting a 'Class or Method' does not exist error at the 'New' statement. This is copied and pasted right out of the LR;

Dim pb As PushButton
pb=New pushbutton1
pb.caption="OK"

This fails at the same point. Am I missing something... I can't seem to get this working. And, yes I have a control already on the window that I'm trying to clone.

My goal is to clone a group of controls. Is is possible to clone a parent control and have all child controls also get cloned too? I also don't see any examples for managing user input from multiple cloned controls. Can someone please start me off on the right foot on this. I'm baffled!

I'm using RB2005r2 and OSX 10.4.7

Craig
_______________________________________________
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>

Reply via email to