Search found 22 matches: eventinfo

Return to advanced search

have you tried with two params ?

oActiveX:bOnEvent := { | event, nKey1, nKey2 | EventInfo( event, nKey1, nKey2 ) }
by Antonio Linares
Thu Aug 02, 2007 9:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: As to catch return of oActiveX:Do
Replies: 25
Views: 5715

to zoom in add the following code: #DEFINE moZoomIn 51 oMap:SetProp("MousePointer", moZoomIn) In function EventInfo add the following: IF event == "Click" IF oMap:GetProp("MousePointer") == moZoomIn oRect := oMap:Do("TrackRectangle") oMap:SetProp("Extent", oRect) oMap:Do("Refresh") ...
by HennekensSM
Mon Jan 29, 2007 9:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem getting an ActiveX component to work
Replies: 16
Views: 5561

Maurilio: We're currently working with the webexp.prg in Samples. You can now add something like this to the EventInfo function: if valType(event) == "C" .AND. event == "BeforeNavigate2" #define BEFORE_NAV_ARGS_URL 2 #define BEFORE_NAV_ARGS_TargetFrameName 4 #define BEFORE_NAV_ARGS_CANCEL ...
by Brian Hays
Mon Jul 17, 2006 4:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebBrowser ActiveX control
Replies: 19
Views: 6649

... 1) // Generates an error on this line. If I comment out the window opens oMapPoint:bOnEvent = { | event, aParams | cEvents += EventInfo( event, aParams ) } ACTIVATE WINDOW oWndMap ; ON INIT ( oWndMap:Move(0,0,640,390,.t.) ) ; ON PAINT oWndMap:SetFocus() ; VALID ( oMapPoint:Do("CloseMap"), ...
by Randal
Wed Apr 26, 2006 4:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX & xHarbour
Replies: 13
Views: 5761

ActiveX & xHarbour

... your email with the updated libs. When I try to set the the event block I get an error on: oMapPoint:bOnEvent = { | event, aParams | cEvents += EventInfo( event, aParams ) } This line generates the error: Error MapPoint.Control/16389 E_FAIL: _BONEVENT I also tried replacing the ActiveX lib with ...
by Randal
Wed Apr 26, 2006 3:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX & xHarbour
Replies: 13
Views: 5761

Error While trying to use ActiveX control

... oWnd, "GSN.GSNCtrl.1" ) oActiveX:nWidth = 0 oActiveX:nHeight = 0 oActiveX:bOnEvent = { | event, aParams | cEvents += EventInfo( event, aParams ) } ACTIVATE WINDOW oWnd ; VALID ( MemoEdit( cEvents ), .t. ) return nil function EventInfo( event, aParams ) local cMsg := ...
by Milan Mehta
Thu Mar 30, 2006 12:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error While trying to use ActiveX control
Replies: 1
Views: 653

Milan,

With the FWH that you are using, please comment this line:

// oActiveX:bOnEvent = { | event, aParams | cEvents += EventInfo( event, aParams ) }
by Antonio Linares
Tue Mar 21, 2006 4:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Third party ActiveX control users
Replies: 10
Views: 2711
Previous

Return to advanced search