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 questions

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

OCX questions

Mensaje por Oleg »

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)Â
Responder