that's exactly what i want to do, but i want to stop the ListArray from being accessed through: objectGet.ListArray
how is this done?
Try this:
DEFINE CLASS objectGet as Custom OLEPUBLIC
ListArray = 100
PROCEDURE ListArray_ACCESS && Access method
RETURN THIS.ListArray
ENDPROC
PROCEDURE ListArray_ASSIGN && Assign method
LPARAMETERS tAssign && Required to accept value
THIS.ListArray = tAssign
ENDPROC
ENDDEFINE
HTH
>how do i create a private property in a class? is this correct?
>
>DEFINE CLASS objectGet as Custom OLEPUBLIC
>
>private ListArray
>
>Procedure getValues
> ** retrieves values from the ListArray
>
>EndProc
>
>ENDDEFINE
>
>what i want to happen is the class has the ListArray as a property, but can't be accessed directly, instead it is to be accessed through the getValues procedure. Am i on the right track?
Sylvain Larin
iSynergy Inc.
Jordan Pastourel
Development Manager