*locate target record 1st run lnLine = atcline('caption',properties) replace properties ; with stuff(properties, ; at(mline(properties,lnLine),properties), ; len(mline(properties,lnLine)), ; [Caption = "I hacked scx"]+chr(13)+chr(10)+[Forecolor = 255,255,0]) *modi form and change applied - modi something in any to force save *locate target record 2nd run lnLine = atcline('caption',properties) replace properties ; with stuff(properties, ; at(mline(properties,lnLine),properties), ; len(mline(properties,lnLine)), ; [Caption = "I hacked scx again"]+chr(13)+chr(10)+[Backcolor = 0,255,255]) *modi form and change applied * repeat n times and all worked.BTW when saying adding property we're talking about existing but at their default properties, right?
lnObjects=aselobj(arrObjects) for ix=1 to lnObjects oObject = arrObjects[ix] * do whatever with object endforWith this approach you could also read-writemethod, cloneobject etc.