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"......

thank you in advance for the assistance brought.


Bernhart

RE: How Add a CommandButton on 1 Activex by Leemi

Leemi
Mon Feb 02 09:06:19 CST 2004

Hi Bernhart:

I don't have Crystal Reports Active X control installed, so I cannot this
for you. However, you might want to check the links on this site that show
how to use Crystal Reports with VFP:

http://www.craigberntson.com/articles.htm

I hope this helps.

This posting is provided "AS IS" with no warranties, and confers no rights.

Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell

*-- VFP8 HAS ARRIVED!! --*
Read about all the new features of VFP8 here:
http://www.universalthread.com/VisualFoxPro/News/VFP8Release.asp
Purchase VFP8 here:
http://shop.microsoft.com/Referral/Productinfo.asp?siteID=11518

Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retires Sept. 30th, 2003



>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"......

>thank you in advance for the assistance brought.

>Bernhart



Re: How Add a CommandButton on 1 Activex by David

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"......