In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

OCX properties and methods with negative ID

Xailer professional forum in English
Responder
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

OCX properties and methods with negative ID

Mensaje por Oleg »

Dear developers!
When I import ActiveX in Xailer (Components menu),
I have only properties, methods and events with positive ID,
properties, methods and events with negative ID are ignored.
(for example in ActiveX COMCTL.ListViewCtrl.1).
Is it intentional behaviour or a bug?
Regards, Oleg
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

OCX properties and methods with negative ID

Mensaje por jfgimenez »

Oleg,
> When I import ActiveX in Xailer (Components menu),
> I have only properties, methods and events with positive ID,
> properties, methods and events with negative ID are ignored.
> (for example in ActiveX COMCTL.ListViewCtrl.1).
>
> Is it intentional behaviour or a bug?
Negative ID members are 'standard' properties and events, which should be
managed directly by the control container, not by the programmer. That's why
they aren't declared in the generated class. If you know about any property
or event with negative ID that doesn't fall in that category, please, tell
us to review it.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

OCX properties and methods with negative ID

Mensaje por jfgimenez »

Oleg,
> When I import ActiveX in Xailer (Components menu),
> I have only properties, methods and events with positive ID,
> properties, methods and events with negative ID are ignored.
> (for example in ActiveX COMCTL.ListViewCtrl.1).
>
> Is it intentional behaviour or a bug?
Negative ID members are 'standard' properties and events, which should be
managed directly by the control container, not by the programmer. That's why
they aren't declared in the generated class. If you know about any property
or event with negative ID that doesn't fall in that category, please, tell
us to review it.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

OCX properties and methods with negative ID

Mensaje por Oleg »

Jose,
> Negative ID members are 'standard' properties and events, which should be
> managed directly by the control container, not by the programmer. That's
why
> they aren't declared in the generated class. If you know about any
property
> or event with negative ID that doesn't fall in that category, please, tell
> us to review it.
>
For example I use COMCTL.ListView.1 ActiveX (see thread 'OCX questions' with
sample).
This ActiveX has properties
BackColor ID -501
ForeColor ID -513
Font ID -512
As I see, TOCX control from Xailer is derived from TStdControl and has
corresponding
standard properties
nClrPane
nClrText
oFont,
but if I change them, Listview's appearence does not change.
So these properties are not linked with ActiveX properties.
Also, this ActiveX has events
KeyDown ID -602
MouseDown ID -605
TOCX control has corresponding events
OnKeyDown
OnMouseDown
but they are never fired.
Regards, Oleg
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

OCX properties and methods with negative ID

Mensaje por Oleg »

Jose,
> Negative ID members are 'standard' properties and events, which should be
> managed directly by the control container, not by the programmer. That's
why
> they aren't declared in the generated class. If you know about any
property
> or event with negative ID that doesn't fall in that category, please, tell
> us to review it.
>
For example I use COMCTL.ListView.1 ActiveX (see thread 'OCX questions' with
sample).
This ActiveX has properties
BackColor ID -501
ForeColor ID -513
Font ID -512
As I see, TOCX control from Xailer is derived from TStdControl and has
corresponding
standard properties
nClrPane
nClrText
oFont,
but if I change them, Listview's appearence does not change.
So these properties are not linked with ActiveX properties.
Also, this ActiveX has events
KeyDown ID -602
MouseDown ID -605
TOCX control has corresponding events
OnKeyDown
OnMouseDown
but they are never fired.
Regards, Oleg
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

OCX properties and methods with negative ID

Mensaje por Oleg »

Jose,
> Negative ID members are 'standard' properties and events, which should be
> managed directly by the control container, not by the programmer. That's
why
> they aren't declared in the generated class. If you know about any
property
> or event with negative ID that doesn't fall in that category, please, tell
> us to review it.
>
For example I use COMCTL.ListView.1 ActiveX (see thread 'OCX questions' with
sample).
This ActiveX has properties
BackColor ID -501
ForeColor ID -513
Font ID -512
As I see, TOCX control from Xailer is derived from TStdControl and has
corresponding
standard properties
nClrPane
nClrText
oFont,
but if I change them, Listview's appearence does not change.
So these properties are not linked with ActiveX properties.
Also, this ActiveX has events
KeyDown ID -602
MouseDown ID -605
TOCX control has corresponding events
OnKeyDown
OnMouseDown
but they are never fired.
Regards, Oleg
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

OCX properties and methods with negative ID

Mensaje por Oleg »

Jose,
> Negative ID members are 'standard' properties and events, which should be
> managed directly by the control container, not by the programmer. That's
why
> they aren't declared in the generated class. If you know about any
property
> or event with negative ID that doesn't fall in that category, please, tell
> us to review it.
>
For example I use COMCTL.ListView.1 ActiveX (see thread 'OCX questions' with
sample).
This ActiveX has properties
BackColor ID -501
ForeColor ID -513
Font ID -512
As I see, TOCX control from Xailer is derived from TStdControl and has
corresponding
standard properties
nClrPane
nClrText
oFont,
but if I change them, Listview's appearence does not change.
So these properties are not linked with ActiveX properties.
Also, this ActiveX has events
KeyDown ID -602
MouseDown ID -605
TOCX control has corresponding events
OnKeyDown
OnMouseDown
but they are never fired.
Regards, Oleg
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

OCX properties and methods with negative ID

Mensaje por jfgimenez »

Oleg,
> For example I use COMCTL.ListView.1 ActiveX (see thread 'OCX questions'
> with
> sample).
> This ActiveX has properties
> BackColor ID -501
> ForeColor ID -513
> Font ID -512
> As I see, TOCX control from Xailer is derived from TStdControl and has
> corresponding
> standard properties
> nClrPane
> nClrText
> oFont,
> but if I change them, Listview's appearence does not change.
> So these properties are not linked with ActiveX properties.
>
> Also, this ActiveX has events
> KeyDown ID -602
> MouseDown ID -605
> TOCX control has corresponding events
> OnKeyDown
> OnMouseDown
> but they are never fired.
Yes, you are right about it does nothing with those properties and events.
It's not finished yet. We'll try to do it ASAP.
However, all those properties and events are 'standard' as I said before,
and will be managed directly from the container, that is, you'll can assign
the properties and events as you've tried.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

OCX properties and methods with negative ID

Mensaje por jfgimenez »

Oleg,
> For example I use COMCTL.ListView.1 ActiveX (see thread 'OCX questions'
> with
> sample).
> This ActiveX has properties
> BackColor ID -501
> ForeColor ID -513
> Font ID -512
> As I see, TOCX control from Xailer is derived from TStdControl and has
> corresponding
> standard properties
> nClrPane
> nClrText
> oFont,
> but if I change them, Listview's appearence does not change.
> So these properties are not linked with ActiveX properties.
>
> Also, this ActiveX has events
> KeyDown ID -602
> MouseDown ID -605
> TOCX control has corresponding events
> OnKeyDown
> OnMouseDown
> but they are never fired.
Yes, you are right about it does nothing with those properties and events.
It's not finished yet. We'll try to do it ASAP.
However, all those properties and events are 'standard' as I said before,
and will be managed directly from the container, that is, you'll can assign
the properties and events as you've tried.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Responder