O$4 - Copy a continer object

Michael Mantkowski michaelj at clientrax.com
Thu Mar 12 11:53:07 EDT 2015


I am trying to make a copy of a ScrollBox that contains several objects.

Using the code below, I get the scroll box, but none of the items that are
in the original.

Am I doing something wrong?

Set reference lvOrigRef to $cinst.$objs.Box1.$ref
Do $cinst.$objs.$add(lvOrigRef) Returns lvRef
Calculate lvRef.$name as lvRef.$ident
Calculate lvRef.$left as 100
Calculate lvRef.$top as 100

*********************************************************************
Michael Mantkowski
ClienTrax Software
1-614-875-2245
*********************************************************************





More information about the omnisdev-en mailing list