Search found 18 matches: cpropname

Return to advanced search

Re: Events from OLE

Jose,

Please try this:

__axRegisterHandler( ::&cPropName:__hObj, { || MsgBeep() } )
by Antonio Linares
Thu Aug 14, 2014 11:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Events from OLE
Replies: 19
Views: 3256

Re: Events from OLE

Antonio,

MsgInfo( ValType( __axRegisterHandler( ::&cPropName:__hObj, {| ...| MsgInfo( 'Test') } ) ) ) shows "P"

FYI,

Jose
by Jose Dolar
Mon Aug 11, 2014 2:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Events from OLE
Replies: 19
Views: 3256

Re: Events from OLE

Jose,

This way:

MsgInfo( ValType( __axRegisterHandler( ::&cPropName:__hObj, {| ...| MsgInfo( 'Test') } ) ) )
by Antonio Linares
Mon Aug 11, 2014 1:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Events from OLE
Replies: 19
Views: 3256

Re: Events from OLE

Antonio,

MsgInfo( __axRegisterHandler( ::&cPropName:__hObj, {| ...| MsgInfo( 'Test') } ) ) shows "ValtoChar not supported Type yet"

FYI,

Jose
by Jose Dolar
Mon Aug 11, 2014 11:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Events from OLE
Replies: 19
Views: 3256

Re: Events from OLE

Jose,

Try this:

MsgInfo( __axRegisterHandler( ::&cPropName:__hObj, {| ...| MsgInfo( 'Test') } ) )
by Antonio Linares
Mon Aug 11, 2014 4:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Events from OLE
Replies: 19
Views: 3256

Re: Events from OLE

Antonio,

I also checked valtype and here are results.

Msginfo(::&cPropName:__hObj) shows "ValtoChar not supported Type yet"

Msginfo(valtype(::&cPropName:__hObj)) shows "P"

FYI,

Jose
by Jose Dolar
Mon Aug 11, 2014 3:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Events from OLE
Replies: 19
Views: 3256

Re: Events from OLE

Please try this:

MsgInfo( ::&cPropName:__hObj )

and let me know what you get
by Antonio Linares
Mon Aug 11, 2014 2:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Events from OLE
Replies: 19
Views: 3256

Re: Events from OLE

Antonio,

I just tried the following suggestion and it doesn't work. :(
__axRegisterHandler( ::&cPropName:__hObj, {| ...| MsgInfo( 'Test') } )

Please advise. Thank you.

Regards,

Jose
by Jose Dolar
Sun Aug 10, 2014 11:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Events from OLE
Replies: 19
Views: 3256

Re: Events from OLE

Jose,

Please try it this way:

__axRegisterHandler( ::&cPropName:__hObj, {| ...| MsgInfo( 'Test') } )
by Antonio Linares
Sun Aug 10, 2014 9:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Events from OLE
Replies: 19
Views: 3256

Events from OLE

... will be evaluated every time the OLE fired an event. The code to register the handler is in LS_OPOS.PRG line 196. __axRegisterHandler( ::&cPropName:__hObj, {| ...| MsgInfo( 'Test') },'{B196B284-BAB4-101A-B69C-00AA00341D07}') If you need the OLE, you can find it in this link http://monroecs.com/opos.htm ...
by Jose Dolar
Thu Aug 07, 2014 2:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Events from OLE
Replies: 19
Views: 3256

Re: comile simple program

... := hb_aParams() aParams[ 1 ] = TOleAuto():New( hObj ) return hb_execFromArray( @__ObjSendMsg(), aParams ) #endif function OleSetProperty( hObj, cPropName, uValue ) return __ObjSendMsg( TOleAuto():New( hObj ), "_" + cPropName, uValue ) function OleGetProperty( hObj, cPropName ) return ...
by kajot
Wed Jul 29, 2009 5:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: compile simple program
Replies: 5
Views: 1145

Re: Memoria no liberada en ActiveX - arreglado!

... uParam1, uParam2, uParam3 ) METHOD Display() INLINE ::BeginPaint(), ::Paint(), ::EndPaint(), 0 METHOD EraseBkGnd( hDC ) INLINE 1 METHOD GetProp( cPropName ) INLINE ; ActXGetProperty( ActXPdisp( ::hActiveX ), cPropName ) METHOD Initiate( hDlg ) METHOD OnEvent( nEvent, aParams ) METHOD ReadTypes() ...
by MGA
Wed Apr 08, 2009 1:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Memoria no liberada en ActiveX - arreglado!
Replies: 18
Views: 6354

Jose, What FWH and Harbour/xharbour version are you using ? Whats the exact error that you get ? Please copy it here > METHOD SetProp( cPropName, uParam1 ) INLINE ; --> OleSetProperty( ActXPdisp( ::hActiveX ), cPropName, uParam1 ) > The above "-->" should not be there in the code
by Antonio Linares
Thu Jul 24, 2008 11:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas en 8.06 con Activex
Replies: 30
Views: 6305

I Have is Problem!

Hello A.Linares. I Working with ADVPL Microsiga. But, i compile the TActiveX class. ERROR in METHOD : METHOD SetProp( cPropName, uParam1 ) INLINE ; --> OleSetProperty( ActXPdisp( ::hActiveX ), cPropName, uParam1 ) I Have class TActiveX complet, but, error continue compilation. ...
by jose.robertoteixeira
Thu Jul 24, 2008 11:32 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas en 8.06 con Activex
Replies: 30
Views: 6305

Antonio,

Gracias por tu respuesta.

usa:
METHOD SetProp( cPropName, uParam1 ) INLINE ;
OleSetProperty( ActXPdisp( ::hActiveX ), cPropName, uParam1 )

Es una de las primeras pruebas que realize y sigue fallando.

Te he enviado un mail con Crystal XI y un ejemplo para que lo puedas probar.
by fgondi
Fri Jul 04, 2008 3:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas en 8.06 con Activex
Replies: 30
Views: 6305
Next

Return to advanced search