Community of VE/MapPoint Users and Developers
This is a discussion on MapPoint in OleContainer problem //BCB within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello, I've succeded in putting MP Map into OleContainer, but there are 2 problems: 1. when I resize the container ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| MapPoint in OleContainer problem //BCB I've succeded in putting MP Map into OleContainer, but there are 2 problems: 1. when I resize the container the Map doesn't change its size. How to change it? 2. is it possible to add toolbars (e.g. sizing and location)? I know how to make them visible/invisible in application, but in TOleContainer I have only a Map since OleContainers don't allow me to put TApp inside (or maybe I'm wrong, which will be fantastic!) please help me with it. Tomek |
| |||
|
Hi, What's your progamming language? Quote:
Some other languages like mine does it automatically. Just look at the properties of your Container and see if there is no options concerning anchors. If you don't have anchor properties, I've seen somewhere that you have to resize your container as large as possible in the beginning? Quote:
Code: MapPointControl1.Toolbars.Item(1).Visible = True MapPointControl1.oolbars.Item(2).Visible = True MapPointControl1.Toolbars.Item(3).Visible = True MapPointControl1.Toolbars.Item(4).Visible = True |
| |||
|
Hello, thanks for your reply. My language is Borland C++ Builder 6.0 When it comes to resizing my Cotainer there is no problem, but the problem starts when I'd like my Map inside the Container to resize as well. When I resize the container it cuts the map and disables the possibility of moving around the map (white arrows close to the borders) Your code example is unforunatelly well known to me. My problem is that I can either install ActiveX components such as: TMap, TApp and TMappointUtulities or TMappointUtilities and TMappointControl, but I can't use TMappointControl because such interface isn't supported (that's the message I get when I try to put it on the form). I know there were successful attempts to solving this in Delphi, but I still don't know how to do it in BCB. Regards Tomek |
| |||
|
Hi, Quote:
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| mappoint, olecontainer, or or bcb, problem |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Borland C++ Builder : Using Mappoint over olecontainer | Anonymous | MapPoint 2006/2009 Discussion | 2 | 02-14-2005 05:04 AM |
| Mappoint in OleContainer problem //Delphi | Anonymous | MapPoint 2006/2009 Discussion | 6 | 01-08-2005 02:03 PM |
| Delphi OleContainer Resize Problem. | Sheridan | MapPoint 2006/2009 Discussion | 5 | 12-19-2003 06:50 AM |
| Delphi OleContainer problems | pafreshney | MapPoint 2006/2009 Discussion | 6 | 09-15-2003 02:50 PM |
| ShowModal hides form with MP in olecontainer | Anonymous | MapPoint 2006/2009 Discussion | 0 | 05-13-2003 11:50 AM |