On Dec 26, 2006, at 7:52 AM, Youri wrote:

Terry,


I have created the different Oval and given them appropriate names (ie. ov_Name, ov_Surname etc…) and set their visibiity to "false".

I want now to be able to point to the correct Oval depending on the name of the MyEditfield.

As I want the code to be Generic, I need a way to say :

if I test a Myeditfield of which Myeditfield.name = ef_xxxx

then I want to access :

ov_xxxx


An alternate approach you might look at is using the OvalShape rather than the Oval Control. OvalShape, which is an Object2D with super of RectShape can be created in code on the fly without cloning. You would probably want to create a subclass of OvalShape, and give your subclass a Name property.

Best,

Jack



_______________________________________________
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