Página 1 de 1

OCX properties and methods with negative ID

Publicado: Jue Nov 30, 2006 7:40 pm
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

OCX properties and methods with negative ID

Publicado: Jue Nov 30, 2006 8:48 pm
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

OCX properties and methods with negative ID

Publicado: Jue Nov 30, 2006 8:48 pm
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

OCX properties and methods with negative ID

Publicado: Vie Dic 01, 2006 7:30 am
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

OCX properties and methods with negative ID

Publicado: Vie Dic 01, 2006 7:30 am
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

OCX properties and methods with negative ID

Publicado: Vie Dic 01, 2006 7:31 am
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

OCX properties and methods with negative ID

Publicado: Vie Dic 01, 2006 7:31 am
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

OCX properties and methods with negative ID

Publicado: Vie Dic 01, 2006 7:45 pm
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

OCX properties and methods with negative ID

Publicado: Vie Dic 01, 2006 7:45 pm
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