on 11/15/06 10:52 AM, Youri at [EMAIL PROTECTED] wrote:
>
>
> Hi,
>
>
> Who can tell me what I am doing wrong?
>
> OS X 10.4.8
> RB2006 r4
>
> I have made an array of cal (a custom control based on Canvas Class)
>
> In my window I have 6 instances of cal (indexed 0 to 5)
>
>
> When I try to do :
>
> dim i as integer
>
> For i = 0 to ubound(cal)
>
> cal(i).Quadrillage = true
>
> next
>
> I get an error :
>
> "Parameters are not compatible with this function (cal)"
>
If 'Quadrillage' is a property of type 'Boolean', then your routine should
work, as written... although it is a good idea to give your array a
descriptive name that is different from the class objects that it contains:
Dim calArray() As cal
However, your error message says that it's a 'Function', not a property. If
that is so, then what you're doing will not work.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>