Community of VE/MapPoint Users and Developers
This is a discussion on Delphi OleContainer Resize Problem. within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi at all. After i have solved the problem with the toolbars, another prob appears now. After connecting to mappoint ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Delphi OleContainer Resize Problem. After i have solved the problem with the toolbars, another prob appears now. After connecting to mappoint anything runs very well, but if i change the focus to the treeview on the same form and then resize this form, the OleContaíner will change it's size correctly but not the Mappoint Map in the container. It doesn't matter what value i choose for the SizeMode property of the OleContainer. Does anyone have the same problem? I hope someone can help me. greets & thanks Sheridan |
| |||
| Delphi Container resize/Activate issue
I observe a similar problem when the server in the OleContainer gets de-/activated, which tends to happen on entry/exit of the control or when something else gets the focus! The net effect is that the State goes from osUIActive to osRunning such that all the toolbars become invisiblein the process! Does anyone have a way to address this such that the toolbars don't go away? THX, JP |
| |||
|
Hi i had this problem. Got round it by placing the ole container within a panel. The olecontainer must have align se to alClient. The panel must be alNone and must be resized in code or by using the anchors. The panel must be on the form, not within anything else. This stops the map resizing and the toolbars changing but you still get a pause when you loose focus and mappoint goes from using 20mb to about 100mb. Any ideas why it does that? |
| |||
|
I hate to tell all of you.. but as far as I can tell... there is "NO" way around the problems you guys are having. Honestly your best bet is to use the activex control (trust me... I've been through ALOT w/ that OLEcontainer). If you do a search on the forums you will see a post I made on how to get the activex control to work with delphi. If you have any other questions just send me a PM or e-mail. Good luck... Chris |
![]() |
| Tags |
| delphi, olecontainer, problem, resize |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MapPoint in OleContainer problem //BCB | tomek_tomek | MapPoint 2006/2009 Discussion | 3 | 08-16-2005 03:54 PM |
| Mappoint in OleContainer problem //Delphi | Anonymous | MapPoint 2006/2009 Discussion | 6 | 01-08-2005 02:03 PM |
| OleVariant Problem with Delphi 6 | top204 | MapPoint 2006/2009 Discussion | 3 | 04-29-2004 05:51 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 |