FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Menu POP in TACTIVEX
Posts: 139
Joined: Fri Nov 25, 2005 04:38 PM
Menu POP in TACTIVEX
Posted: Tue Feb 10, 2009 03:49 PM

Estou utilizando a ocx DHTML, para criar um editor de HTML, estou com problema no onEvent, não consigo saber a posição em que o mouse esta para demonstrar o POP MENU .. algum pode me auxiliar

Ronaldo Minacapelli
Sistemas, Hospedagem e Criação de WebSites
http://www.bazevani.com.br
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Menu POP in TACTIVEX
Posted: Fri Feb 13, 2009 12:10 PM

Ronaldo,

Please review FWH\samples\webexp.prg that shows how to analize the received activex events.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 139
Joined: Fri Nov 25, 2005 04:38 PM
Re: Menu POP in TACTIVEX
Posted: Mon Feb 16, 2009 01:13 PM
Preciso saber da LINHA e COLUNA, para criar meu proprio MENU POP...

look:
oActiveX:bOnEvent = { | event, aParams, pParams | cEvents += EventInfo( event, aParams, pParams, oActiveX ) }

i need:
oActiveX:bOnEvent = { | event, aParams, pParams, nRow, nCol | cEvents += EventInfo( event, aParams, pParams, oActiveX ) }
Ronaldo Minacapelli
Sistemas, Hospedagem e Criação de WebSites
http://www.bazevani.com.br
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Menu POP in TACTIVEX
Posted: Mon Feb 16, 2009 02:52 PM

Ronaldo,

Probably nRow and nCol are placed inside aParams.

Please, click on the activex and post here the cEvents content.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 139
Joined: Fri Nov 25, 2005 04:38 PM
Re: Menu POP in TACTIVEX
Posted: Mon Feb 16, 2009 06:43 PM

Obrigado pela Ajuda. consegui com sua dica desta forma:

Function OnEvent()
Elseif event = "ShowContextMenu" //!msgyesno(event)
nRow_1 := aParams[ 1 ]
nCol_1 := aParams[ 2 ]

Ronaldo Minacapelli
Sistemas, Hospedagem e Criação de WebSites
http://www.bazevani.com.br
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Menu POP in TACTIVEX
Posted: Mon Feb 16, 2009 07:46 PM

Ronaldo,

Very good! :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion