Community of VE/MapPoint Users and Developers
This is a discussion on Hiding Boxes around Label shapes within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I have a MapPoint.Shape that I created with oMap.Shapes.AddTextBox. oTextBox.Line.Visible = False does nothing, but oTextBox.Line.ForeColor = vbRed works fine. ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Hiding Boxes around Label shapes oTextBox.Line.Visible = False does nothing, but oTextBox.Line.ForeColor = vbRed works fine. Any trick to hiding the boxes (just displaying the text)?
__________________ Cheers André |
| |||
| Hiding Boxes around Label shapes
It seems that you can either make the fill invisible OR the line invisible. Not both. I played with this for a while because someone at work wanted the same thing. I added a mappoint control and two command buttons to a form. Programatically added a textbox oh so originally named "test." Set command_1 to make currMap.Shapes.Item("test").Fill.Visible = False and the other command_2 to set currMap.Shapes.Item("test").Line.Visible = False. If you click on the command_2 first, the line disappears. As soon as you click on command_1, the border returns and the fill disappears. Once the fill is invisible, you can change the color and weight of the line, but not its visibility. Even in Mappoint itself, once you select "No Fill," the line reappears. If you select a fill color, the option "No Line" reappears. Looks like it's a "feature" to keep anyone from adding info that looks like it came with Mappoint. Waiting to see if someone has a solution other than matching the line color to the background. |
| |||
|
Hi Martel, thanks for the help. I figured out the same thing - now I just set the box to a white colour - less prominent, but still ugly when you're looking at lots of text at a higher level
__________________ Cheers André |
| |||
| You can display text as a "symbol"
One trick, if you aren't customizing too many text boxes, is to create a bitmap image and set it as a symbol. Mappoint uses a mask if the UseTransparency property is set to true and the background becomes transparent (if the background is all the same color). The disadvantage of doing this is you have to have a pushpin, pushpin set or multiple symbol map to assign the symbol to a location on the map. I can just see it....oMap.Datasets("CustomSymbols").... Works when I know what text I need to display in advance. |
![]() |
| Tags |
| boxes, hiding, label, shapes |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Label Waypoints | MD2000 | MapPoint 2006/2009 Discussion | 10 | 11-07-2006 02:57 AM |
| Mapping PO Boxes | MeliDe | MapPoint 2006/2009 Discussion | 1 | 10-21-2005 01:42 PM |
| Label Hiding Feature on MapPoint | zarniminhtet | MapPoint 2006/2009 Discussion | 0 | 10-03-2005 03:25 PM |
| Weird problem with MapPoint shapes and Combo Boxes | Anonymous | MapPoint 2006/2009 Discussion | 6 | 03-24-2003 05:34 AM |
| Text Boxes | ClactonEssex | Wish List | 0 | 12-10-2002 07:52 AM |
Cheap Flights to Sharm
Cheap flights to Sharm El Sheikh are easy to book when you use Holiday Hypermarket. Great weather and wonderful watersports await.
Travel Agency
We are a Queen's Award winning travel agency here to help with your travel plans.
Holidays to Jamaica
At dealchecker.co.uk, we'll shop around for cheap holidays to Jamaica so you don't have to. We search deals from the UK’s top holiday companies all in one go. Try it for free.
Cancun Holidays
Cancun holidays offer beautiful scenery, calm waters and plenty of shopping. Get a taste of the good life while on holiday in Cancun.
Cheap Spain Holidays
Stay well informed when you are searching for cheap holidays online. For useful advice on when to book cheap Spain holidays make sure you look on ulookubook.com
Package Holidays
With the help of Travel.co.uk you can find the package holidays of your dreams.
Sharm el Sheikh Holidays
Visit Egypt! Get info on Sharm El Sheikh holidays, only at On The Beach.