Aqui teneis un ejemplo:
Code: Select all
#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