OCX questions
Publicado: Jue Nov 30, 2006 12:50 pm
Dear developers!
I try to create my first sample with OCX ListView (see attached project).
I have a few questions.
1. Is it possible to set focus on ListView (or other OCX) component after
program start and move from one control
to another (oButton to oListView and vice versa) with TAB key?
All my attempts were unsuccessfull. I tried oListView:SetFocus and
TListView:KeyDown event (see source).
2. When I import ActiveX in Xailer (Components menu), resulting .ch file
contains wrong #xtranslate directives instead of #define?
I have to change it to #define manually. I think it is a bug.
3. Debugger cannot stop on the breakpoints inside the WITH OBJECT
where I create OCX object (for example see line 51 in the Form1.prg)?
4. Are there any free tools to inspect all properties, methods and events of
defined OCX and other classes using in this OCX?
Something like Delphi internal Type Library Editor?
5. Maybe you know, Is there any CommCtl32 library guide in the Internet?
Thank you.
Oleg.
Attached files test10.zip (10.6 KB)Â
I try to create my first sample with OCX ListView (see attached project).
I have a few questions.
1. Is it possible to set focus on ListView (or other OCX) component after
program start and move from one control
to another (oButton to oListView and vice versa) with TAB key?
All my attempts were unsuccessfull. I tried oListView:SetFocus and
TListView:KeyDown event (see source).
2. When I import ActiveX in Xailer (Components menu), resulting .ch file
contains wrong #xtranslate directives instead of #define?
I have to change it to #define manually. I think it is a bug.
3. Debugger cannot stop on the breakpoints inside the WITH OBJECT
where I create OCX object (for example see line 51 in the Form1.prg)?
4. Are there any free tools to inspect all properties, methods and events of
defined OCX and other classes using in this OCX?
Something like Delphi internal Type Library Editor?
5. Maybe you know, Is there any CommCtl32 library guide in the Internet?
Thank you.
Oleg.
Attached files test10.zip (10.6 KB)Â