>Actually, I want to put the property name and value into a list box, but the properties that I need begin with a certian character sequence, so I need to be able to bypass others and keep some. I figured that I could add items to an Array, add certain properties to the list box for updating, then write the value back to the property if changed. I hope that helps?
>
Thom,
The the container, page or form level you can parse the controls collection such as
LOCAL loControl, lnPtr
lnPtr = 1
WITH this
FOR EACH loControl IN .controls
IF loControl.<property> = <condition>
DIMENSION .aProperties[lnPtr,2]
.aProperties[lnPtr,1] = <propertyname>
.aProperties]lnPtr,2] = <propertyvalue>
lnPtr = lnPtr + 1
ENDIF
ENDFOR
ENDWITH
RETURN
You will have to make provisions for included containers, etc, but this is the general idea.
regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.comNo trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.