list of DAM properties

Kelly Burgess kellyb at montana.com
Sat Mar 4 22:08:41 UTC 2023


Hi Daniel,

I have some old code I used to explore the properties of window/report objects -- maybe it'd work for object instances, haven't tried.

Kelly


Set reference ref to pItem.$ref     ;; some window or report object
Do ref.$attributes.$makelist($ref.$name,$ref.$desc,$ref.$canassign,$ref.$obj,$ref.$name) Returns attList
Do attList.$redefine(propertyName,description,canAssign,propsObject,propValue)
Do attList.$sort(canAssign,kFalse)
For i from 1 to attList.$linecount step 1
	If attList.[i].propertyName<>''
		Calculate theProperty as con('pitem.',attList.[i].propertyName)
		Calculate attList.[i].propValue as eval(theProperty)
	End If
End For
Breakpoint {attList}


More information about the omnisdev-en mailing list