Yo tengo la version PRO y en esta si que esta activado.
Cuando se pulsa localiza los ActiveX de mi ordenador y me permite "Crear
clase" con el que elija.
Eso genera un fichero especifico que crea la clase para usar el ActiveX.
Por ejemplo si elijo "Adobe PDF reader" me crea un fichero llamado
AcroPDF.prg que contiene:
/* Adobe Acrobat Browser Control */
#include "Xailer.ch"
CLASS TAcroPDF FROM TOcx
// Adobe PDF Reader
PROPERTY cCLSID INIT "AcroPDF.PDF.1"
PUBLISHED:
/* property src */
PROPERTY src ID 1 AS CHARACTER
/* property messageHandler */
PROPERTY messageHandler ID 30 AS v
/* event OnError: Fired when an error occurs. */
EVENT OnError()
/* event OnMessage: Fired when a message is sent. */
EVENT OnMessage()
PUBLIC:
/* method LoadFile */
METHOD LoadFile( cfileName ) AS LOGICAL ID 2
/* method setShowToolbar */
METHOD setShowToolbar( lOn ) ID 3
/* method gotoFirstPage */
METHOD gotoFirstPage() ID 4
/* method gotoLastPage */
METHOD gotoLastPage() ID 5
/* method gotoNextPage */
METHOD gotoNextPage() ID 6
/* method gotoPreviousPage */
METHOD gotoPreviousPage() ID 7
/* method setCurrentPage */
METHOD setCurrentPage( nn ) ID 8
/* method goForwardStack */
METHOD goForwardStack() ID 9
/* method goBackwardStack */
METHOD goBackwardStack() ID 10
/* method setPageMode */
METHOD setPageMode( cpageMode ) ID 11
/* method setLayoutMode */
METHOD setLayoutMode( clayoutMode ) ID 12
/* method setNamedDest */
METHOD setNamedDest( cnamedDest ) ID 13
/* method Print */
METHOD Print() ID 14
/* method printWithDialog */
METHOD printWithDialog() ID 15
/* method setZoom */
METHOD setZoom( npercent ) ID 16
/* method setZoomScroll */
METHOD setZoomScroll( npercent, nleft, ntop ) ID 17
/* method setView */
METHOD setView( cviewMode ) ID 18
/* method setViewScroll */
METHOD setViewScroll( cviewMode, noffset ) ID 19
/* method setViewRect */
METHOD setViewRect( nleft, ntop, nwidth, nheight ) ID 20
/* method printPages */
METHOD printPages( nfrom, nto ) ID 21
/* method printPagesFit */
METHOD printPagesFit( nfrom, nto, lshrinkToFit ) ID 22
/* method printAll */
METHOD printAll() ID 23
/* method printAllFit */
METHOD printAllFit( lshrinkToFit ) ID 24
/* method setShowScrollbars */
METHOD setShowScrollbars( lOn ) ID 25
/* method GetVersions */
METHOD GetVersions() AS v ID 26
/* method setCurrentHightlight */
METHOD setCurrentHightlight( na, nb, nc, nd ) ID 27
/* method setCurrentHighlight */
METHOD setCurrentHighlight( na, nb, nc, nd ) ID 28
/* method postMesage */
METHOD postMessage( vstrArray ) ID 29
/* method execCommand */
METHOD execCommand( vstrArray ) ID 31
ENDCLASS
//---------------------------------------------------------- --------------------
No lo he probado pero imagino que con esto se facilitar el uso de fichero
pdf mediante ActiveX.
Lo mismo hace con otros ActiveX
"Fernando Leal" <
visitante32@hotmail.com> escribió en el mensaje
news:4b32e419$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> ¿Por que en la opción del menú "Componentes", "Importar ActiveX" hay un
> botón "Importar" y siempre está desactivado?
>
> ¿Para que sirve ese botón?
>
> Simple curiosidad

>
> Saludos
> Fernando Leal
>