David
Mon Feb 02 23:34:06 CST 2004
Bernhart,
VFP controls can not appear over the ActiveX control. The ActiveX is running
in its own window on top of the VFP Form window. Are you creating this form
in the VFP designer or building it completely at runtime?
Why don't you layout the form so that the .Top of the commandbutton is less
than the .Top of the ActiveX something like this:
F = form, B = command button and A = ActiveX
FFFFFFFFFFFFFFFFFFFFFFFFFF
FBBBBBBFFFFFFFFFFFFFFFFFF
FBBBBBBFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFF
FAAAAAAAAAAAAAAAAAAAAAAF
FAAAAAAAAAAAAAAAAAAAAAAF
...
FAAAAAAAAAAAAAAAAAAAAAAF
FFFFFFFFFFFFFFFFFFFFFFFFFF
--
df - Microsoft MVP FoxPro
http://www.geocities.com/df_foxpro
"MILCENT Bernhart" <xsuxppxorft@amline.be> wrote in message
news:O3$KiEY6DHA.1596@TK2MSFTNGP10.phx.gbl...
> Dear All,
>
> I wants to add a CommandButton (Setup impression) on 1 Activex (CRviewer
> of CrystalREport).
>
>
> This AcTivex is on a Form.
> There is not method "Addobject" for this Activex.
> I use the addobject of Form but as you suspect it
> the button comes to be placed below the activex and is thus not
> visible.
>
>
> The method Zorder(X) does not arrange anything .
>
>
> It would be necessary to be able to say to the button "Always One
Top"......