Hilmar,
I think I've nested them 4 (maybe 5 or 6) levels deep before. I do not think there's a limit other than a logical limit to how deep your containership hierarchy goes.
>I am curious ... does anybody know how many levels you can nest WITH ... ENDWITH?
>
>Example, to explain what I mean:
>
>
>with ThisForm
> .Visible = .T.
> with .PgfPageFrame
> .ActivePage = 2
> endwith
> .MyMethod()
>endwith
>
>
>Looks like there is some sort of stack (comparable to PUSH/POP commands) for WITH...ENDWITH.