Soporte de múltiples ActiveX

Soporte de múltiples ActiveX

Postby Antonio Linares » Fri Mar 30, 2007 2:14 pm

Algunos usuarios han comentado acerca de la posibilidad de usar simultaneamente varios controles ActiveX.

Aqui teneis un ejemplo:
Code: Select all  Expand view
#include "FiveWin.ch"

function Main()

   local oWnd, oActiveX1, oActiveX2

   DEFINE WINDOW oWnd TITLE "FiveWin multiple ActiveX support"

   oActiveX1 = TActiveX():New( oWnd, "Shell.Explorer" )

   oActiveX1:Move( 10, 10, 220, 220 )

   oActiveX1:Do( "GoHome" )

   oActiveX2 = TActiveX():New( oWnd, "MediaPlayer.MediaPlayer.1" )

   oActiveX2:Move( 10, 240, 220, 220 )

   ACTIVATE WINDOW oWnd

return nil

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41945
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby George » Fri Mar 30, 2007 3:02 pm

Antonio,

Que haces para que ese dialogo se vea tan elegante?

Se puede hacer con Borland Workshop?

Podrias postear un ejemplo de como crear esos dialogos?


Saludos,

George
George
 
Posts: 725
Joined: Tue Oct 18, 2005 6:49 pm

Postby Raymundo Islas M. » Fri Mar 30, 2007 11:26 pm

Hola

Hay 2 opciones :

- Conseguir e instalar algun tema/skin que emule al Vista

- Instalar el windows Vista !!!!
( esta precioso :P , pero algo caro por no decir mucho :? )



Saludos
FWH 10.6 + xHarbour + Borland 582
User avatar
Raymundo Islas M.
 
Posts: 592
Joined: Tue Mar 14, 2006 11:34 pm
Location: Acapulco, Gro. MEXICO

Postby Antonio Linares » Sat Mar 31, 2007 8:45 am

Es el Windows Vista x64 Ultimate :-)

Aqui está el ejemplo nuevamente, usando los comandos de ActiveX:
Code: Select all  Expand view
// Using several ActiveX simultaneously

#include "FiveWin.ch"

function Main()

   local oWnd, oActiveX1, oActiveX2

   DEFINE WINDOW oWnd TITLE "FiveWin multiple ActiveX support"

   @ 10, 10 ACTIVEX oActiveX1 PROGID "Shell.Explorer" OF oWnd SIZE 220, 220

   oActiveX1:Do( "GoHome" )

   @ 10, 240 ACTIVEX oActiveX2 PROGID "MediaPlayer.MediaPlayer.1" OF oWnd SIZE 220, 220

   ACTIVATE WINDOW oWnd

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41945
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 89 guests