MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Hiding Boxes around Label shapes

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. ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-17-2003
Junior Member
White Belt
 
Join Date: Apr 2003
Posts: 7
Hiding Boxes around Label shapes

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. Any trick to hiding the boxes (just displaying the text)?
__________________
Cheers

André
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 09-25-2003
Junior Member
Yellow Belt
 
Join Date: Feb 2003
Posts: 28
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 09-25-2003
Junior Member
White Belt
 
Join Date: Apr 2003
Posts: 7
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é
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 09-25-2003
Junior Member
Yellow Belt
 
Join Date: Feb 2003
Posts: 28
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
boxes, hiding, label, shapes


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -5. The time now is 07:09 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

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.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52