Página 1 de 1

ActiveX problem

Publicado: Mar Mar 24, 2015 9:14 am
por Timm
Hi!
Trying to use the FileView Control from LogicNP Software I am having a problem with this code:
METHOD FormInitialize( oSender ) CLASS TForm1
WITH OBJECT ::oFileView := TFileView():New( ::oBevel2 )
:nAlign := alCLIENT
:OnItemClick := "OnFileItemClick"
:Create()
END
RETURN Nil
METHOD OnFileItemClick( oSender, oItem, x, y ) CLASS TForm1
RETURN Nil
You will find a debugger screenshot attached that shows the values of oSender, oItem, x and y when OnFileItemClick is fired.
oItem should be an object but it is of type 'P'. What does that mean?
Best regards, Timm.

Attached files

ActiveX problem

Publicado: Mar Mar 24, 2015 11:12 am
por jfgimenez
Timm,
> Trying to use the FileView Control from LogicNP Software I
> am having a problem with this code:
>
> METHOD FormInitialize( oSender ) CLASS TForm1
>
> WITH OBJECT ::oFileView := TFileView():New( ::oBevel2 )
> :nAlign := alCLIENT
> :OnItemClick := "OnFileItemClick"
> :Create()
> END
>
> RETURN Nil
>
> METHOD OnFileItemClick( oSender, oItem, x, y ) CLASS TForm1
>
> RETURN Nil
>
> You will find a debugger screenshot attached that shows the
> values of oSender, oItem, x and y when OnFileItemClick is
> fired.
> oItem should be an object but it is of type 'P'. What does
> that mean?
Did it work for Xailer 3.x? If so, please, could you send me the OCX and
a very simple sample in order to review it?
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info

ActiveX problem

Publicado: Mar Mar 24, 2015 2:35 pm
por Timm
Jose,
it works neither with Xailer 3.1 nor with Xailer 4.
You will find a sample attached.
Many thanks for your support!
Best regards, Timm.

Attached files FileViewSample.zip (251.6 KB)Â

ActiveX problem

Publicado: Jue Mar 26, 2015 8:48 am
por Timm
Hi Jose,
did you found something?
Best regards, Timm.

ActiveX problem

Publicado: Lun Mar 30, 2015 11:09 am
por jfgimenez
Timm,
> did you found something?
No. Please, send me the OCX and a very small sample in order to check it.
BTW, if you sent it before, it's possible that it were stopped by
Google, since our mail server is hosted there and it doesn't allow
executables. Please, use Dropbox or any other service alike and send my
the URL.
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info

ActiveX problem

Publicado: Lun Mar 30, 2015 12:38 pm
por Timm
Jose,
you will find the sample in my last reply in this topic.
Are you not able to open it?
Best regards, Timm.

ActiveX problem

Publicado: Lun Mar 30, 2015 12:47 pm
por jfgimenez
Timm,
> you will find the sample in my last reply in this topic.
> Are you not able to open it?
Sorry, I didn't see it. That message only appears from web forum, not
from nntp.
I'll review it this afternoon.
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info

ActiveX problem

Publicado: Lun Mar 30, 2015 2:53 pm
por Timm
Jose,
alright, many thanks in advance!
Best regards, Timm.

ActiveX problem

Publicado: Jue Abr 02, 2015 3:43 pm
por Timm
Hi Jose,
do you have any news?
Best regards, Timm.

ActiveX problem

Publicado: Dom Abr 05, 2015 8:41 pm
por jfgimenez
Timm,
sorry for the delay.
Please, test again by adding this module to your project:
https://www.dropbox.com/s/c9c6xim24wtqc ... o.rar?dl=0
It'll be added to the next Xailer release.
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info

ActiveX problem

Publicado: Mar Abr 07, 2015 9:54 am
por Timm
Jose,
works, many thanks!
Starting from the IDE I always get this error message in the debugger window (but the program works):
#1: FTH: (3280): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***
Best regards, Timm.

ActiveX problem

Publicado: Jue Abr 09, 2015 9:34 am
por Timm
Hi Jose!
With your new ocx.o I get random GPFs:
#1: GPF (Code = c0000005):
Access violation
RUNFORM (0)
TAPPLICATION:RUN (286)
MAIN (15)
Without adding the new ocx.o it works.
You will find a sample here:
https://www.dropbox.com/s/njp2j0o4wm1uy ... Sample.zip ?dl=0
Best regards, Timm.

ActiveX problem

Publicado: Jue Abr 09, 2015 11:59 am
por jfgimenez
Timm,
> With your new ocx.o I get random GPFs:
>
> #1: GPF (Code = c0000005):
> Access violation
>
> RUNFORM (0)
> TAPPLICATION:RUN (286)
> MAIN (15)
>
> Without adding the new ocx.o it works.
> You will find a sample here:
> https://www.dropbox.com/s/njp2j0o4wm1uy ... Sample.zip ?dl=0
Please, test again by using this module:
https://www.dropbox.com/s/4j9fa1m9f8vwl9h/Ocx2.rar?dl=0
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info

ActiveX problem

Publicado: Jue Abr 09, 2015 12:31 pm
por Timm
Jose,
great, it works! Many thanks!
Best regards, Timm.

Re: ActiveX problem

Publicado: Mar Abr 28, 2015 6:48 am
por Timm
Hi Jose,

setting the focus from another control to the ActiveX control does not work. Neither with the Tab key nor with :SetFocus().
Do you have an idea?

Best regards, Timm.

Re: ActiveX problem

Publicado: Mar Abr 28, 2015 3:24 pm
por Timm
Hi!

Attached you will find a description of a method I can use with the FileView ActiveX control.
I don´t know how to pass an image to that method.
Can someone perhaps give me a hint?

Best regards, Timm.

Re: ActiveX problem

Publicado: Lun May 04, 2015 7:09 am
por Timm
Hi!

Did you already found time to take a look at this?

Best regards, Timm.