Bernhart,
Another solution is to use the referrence to the form returned by _SCREEN.Forms(1). Currrently, VFP's forms collection is always in the collections Z-Order. Since the first form in the Z-Order references the ActiveForm, I've found this as a reliable workaround.
George
Ubi caritas et amor, deus ibi est