vPropVal = CwGetFirstPropertyValue(hObject, sPropName) vPropVal (variant) The first possible value of the property. hObject (handle) The object being examined. sPropName (string) The name of the property being examined.
Subsequent property values can be obtained by CwGetNextPropertyValue. Once the last property value has been returned, CwGetNextPropertyValue returns an empty string.
If a property does not have a small set of values (e.g. a property expecting arbitrary numeric arguments), CwGetFirstPropertyValue will return an empty string.
/* This function takes an object and a property name and returns a string containg them all in a comma-separated list. */ allprops: procedure parse arg obj, prop v = CwGetFirstPropertyValue(obj, prop) if v = '' then r = 'Any' else do while v \= '' r = r||"," v v = CwGetNextPropertyValue() end return r
Functions by NAME |
Index |
Functions by PURPOSE |