Search found 16 matches: omappoint

Return to advanced search

Re: Mappoint Methods question (Solved)

Now is working fine after I am using FWH 9.04 + XHarbour Builder Pro Sep08 This is the code: local hToolBar, hStandard, oMapPoint, nDist, oMap oActiveX = TActiveX():New( oWnd, "MapPoint.Control.16" ) oMap := oActiveX:Do( "Newmap", 1 ) hToolBar = oActiveX:GetProp( ...
by George
Tue Aug 11, 2009 7:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mappoint Methods question
Replies: 16
Views: 3463

Re: Mappoint Methods question

By using the following code: local hToolBar, hStandard, oMapPoint, nDist, oMap oActiveX = TActiveX():New( oWnd, "MapPoint.Control.16" ) oWnd:oClient = oActiveX // To fill the entire window surface oMap := oActiveX:Do( "Newmap", ...
by George
Tue Aug 11, 2009 7:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mappoint Methods question
Replies: 16
Views: 3463

Re: Mappoint Methods question

George, Try this: local hToolBar, hStandard, oMapPoint, nDist, oMap oActiveX = TActiveX():New( oWnd, "MapPoint.Control.16" ) oWnd:oClient = oActiveX // To fill the entire window surface oActiveX:Do( "Newmap", 1 ) hToolBar ...
by James Bott
Sun Aug 09, 2009 4:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mappoint Methods question
Replies: 16
Views: 3463

Re: Mappoint Methods question

... but also the same error message: Error description: Error BASE/1004 Message not found: TACTIVEX:FINDRESULTS local hToolBar, hStandard, oMapPoint, nDist oActiveX = TActiveX():New( oWnd, "MapPoint.Control.16" ) oWnd:oClient = oActiveX // To fill the entire window surface oActiveX:Do( ...
by George
Sat Aug 08, 2009 3:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mappoint Methods question
Replies: 16
Views: 3463

Mappoint Methods question

Forum, I am trying to use ActiveX with Mappoint. I found the following code in this forum FUNCTION MapPointTest()    local hToolBar, hStandard, oMapPoint, nDist    oActiveX = TActiveX():New( oWnd, "MapPoint.Control.16" )    oWnd:oClient = oActiveX // To fill the entire window surface ...
by George
Fri Aug 07, 2009 2:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mappoint Methods question
Replies: 16
Views: 3463

... 59 #DEFINE geoDelimiterTab 9 #DEFINE geoDisplayBalloon 2 #DEFINE geoDisplayName 1 #DEFINE geoDisplayNone 0 STATIC oWndMap STATIC oMapPoint /* This version calls mappoint via ole and actually opens an instance of the mappoint application */ PROCEDURE MapPoint() LOCAL oMapDS LOCAL ...
by Randal
Tue Aug 22, 2006 1:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Message for Randal Ferguson
Replies: 16
Views: 6084

ActiveX & Mappoint

Antonio, How can I set these properties using ActiveX & FWH? Using xHarbour I can using the following syntax: oMapPoint:Toolbars:Item("Standard"):Visible := .T. oMapPoint:Toolbars:Item("Navigation"):Visible := .T. oMapPoint:Toolbars:Item("Drawing"):Visible := .T. oMapPoint:Toolbars:Item("Location ...
by Randal
Mon Jun 12, 2006 1:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX & Mappoint
Replies: 10
Views: 3533

Adolfo,

<<oMapPoint:SetProp("Toolbars:Item('Standard'):Visible",.T.) >>

I tried this syntax and several others and could not get it to work.

Thanks,
Randal
by Randal
Wed Jun 07, 2006 4:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX Properties
Replies: 4
Views: 1184

... works as part of the property name is a literal string. Any other ideas? Thanks, Randal Mmm that's something I don't know.. sorry I would've done oMapPoint:SetProp("Toolbars:Item('Standard'):Visible",.T.) Hope it Helps...
by Adolfo
Wed Jun 07, 2006 4:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX Properties
Replies: 4
Views: 1184

ActiveX Properties

All, How can I set these property using FWH ActiveX? Using xHarbour I can do: oMapPoint:Toolbars:Item("Standard"):Visible := .T. oMapPoint:Toolbars:Item("Navigation"):Visible := .T. oMapPoint:Toolbars:Item("Drawing"):Visible := .T. oMapPoint:Toolbars:Item("Location ...
by Randal
Wed Jun 07, 2006 2:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX Properties
Replies: 4
Views: 1184

Antonio,

If I link the small activex.lib you posted here and not the activex.lib that comes with xHarbour I get the msg "yourapp.exe has encountered a problem and needs to close" on this line:

oMapPoint = TActiveX():New( oWndMap, "MapPoint.Control" )

Thanks,
Randal Ferguson
by Randal
Fri Apr 28, 2006 1:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX & xHarbour
Replies: 13
Views: 5703

Antonio,

When using the original fivehc.lib dated 4/3/06 I get the message "yourapp has encountered a problem and needs to close" at this line:

oMapPoint = TActiveX():New( oWndMap, "MapPoint.Control" )

Thanks,
Randal Ferguson
by Randal
Wed Apr 26, 2006 7:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX & xHarbour
Replies: 13
Views: 5703

... The following is a sample of my code. DEFINE WINDOW oWndMap OF oWnd ; FROM 0,0 TO 0,0 ; MDICHILD ; MENU MapMenu(oWndMap) ; TITLE "Map Point" oMapPoint = TActiveX():New( oWndMap, "MapPoint.Control" ) oWndMap:oClient = oMapPoint // To fill the entire window surface oMapPoint:Do("NewMap", 1) ...
by Randal
Wed Apr 26, 2006 4:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX & xHarbour
Replies: 13
Views: 5703

ActiveX & xHarbour

Antonio, I received 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 ...
by Randal
Wed Apr 26, 2006 3:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX & xHarbour
Replies: 13
Views: 5703

You must try :


oMapPoint:Do( "NewMap", 1 )
by VeRCE
Thu Apr 20, 2006 9:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH & ActiveX
Replies: 6
Views: 1653
Next

Return to advanced search