473,320 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Tool-tips with Pushpins

I am working on a map display which is linked to a database containing
information on our trucks. I.E. Lat/Long, Customer, Truck number,
Product, etc... I have a form with mappoint control and can get the
map to display with many Mappoint pushpins at the locations of our
trucks. What I am trying to do it set up tool-tips messages on the
pushpins showing information from our database. However I can't
figure out how to add a tool-tip to a pushpin. Please HELP!

I'm working in C sharp, but suggestions in any language would be
great!

Thanks,
Kyle
Mar 19 '08 #1
2 2569
On Wed, 19 Mar 2008 13:10:15 -0700 (PDT), ta********@gmail.com wrote:
>I am working on a map display which is linked to a database containing
information on our trucks. I.E. Lat/Long, Customer, Truck number,
Product, etc... I have a form with mappoint control and can get the
map to display with many Mappoint pushpins at the locations of our
trucks. What I am trying to do it set up tool-tips messages on the
pushpins showing information from our database. However I can't
figure out how to add a tool-tip to a pushpin. Please HELP!

I'm working in C sharp, but suggestions in any language would be
great!
There's no tooltip functionality for MapPoint pushpins AFAIK, but you could
set the "Note" property, e.g. like so:

MapPoint.Location location =
axMappointControl1.ActiveMap.GetLocation(47,-122, 0);
MapPoint.Pushpin thePin =
axMappointControl1.ActiveMap.AddPushpin(location, "My pushpin");
thePin.Note = "This is a pushpin note";
thePin.BalloonState = MapPoint.GeoBalloonState.geoDisplayBalloon;

Regards,
Gilles [MVP].

(Please reply to the group, not via email.
Find my MVP profile with past articles / downloads here:
http://www.gilleskohl.de/mvpprofile.htm)

Mar 19 '08 #2
On Mar 19, 5:45*pm, "Gilles Kohl [MVP]" <no_email_available@wrote:
On Wed, 19 Mar 2008 13:10:15 -0700 (PDT), taylork...@gmail.com wrote:
I am working on a map display which is linked to a database containing
information on our trucks. *I.E. Lat/Long, Customer, Truck number,
Product, etc... *I have a form with mappoint control and can get the
map to display with many Mappoint pushpins at the locations of our
trucks. *What I am trying to do it set up tool-tips messages on the
pushpins showing information from our database. *However I can't
figure out how to add a tool-tip to a pushpin. *Please HELP!
I'm working in C sharp, but suggestions in any language would be
great!

There's no tooltip functionality for MapPoint pushpins AFAIK, but you could
set the "Note" property, e.g. like so:

* * * * *MapPoint.Location location =
axMappointControl1.ActiveMap.GetLocation(47,-122, 0);
* * * * *MapPoint.Pushpin thePin =
axMappointControl1.ActiveMap.AddPushpin(location, "My pushpin");
* * * * *thePin.Note = "This is a pushpin note";
* * * * *thePin.BalloonState = MapPoint.GeoBalloonState.geoDisplayBalloon;

* *Regards,
* *Gilles [MVP].

* *(Please reply to the group, not via email.
* *Find my MVP profile with past articles / downloads here:
* *http://www.gilleskohl.de/mvpprofile.htm)
Thanks, I'll check into that and see how it goes!

Kyle
Mar 20 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: _andrea.l | last post by:
how to build a interfaces (or web pages) in easy way? how to build a form in easy way? how to automate and create web pages whit a tool? which tool to use to create form for a database? I mean...
1
by: Vandana Rola | last post by:
Hello Everyone, We are using javascript's tooltip (pop up on mouse over )function. The problem we are having is as we go scroll two or three pages deep in to the html page our tool tip /pop up...
6
by: d.warnermurray | last post by:
I am doing a project for school that involves creating help files for a html authoring tool. If you could help me with answers to some questions it would really help. 1. What tasks do you expect...
16
by: jblankenburg | last post by:
I am trying to deploy a simple web application to my client's production server, but it's not clear to me how MS planned on having the Security users managed without Studio. Certainly someone...
0
by: CharlesA | last post by:
sorry I had to clarify my previous post as I wasn't able to get specific answers so I'm made this very targetted to what I actually pretty desperate to fix. my Setup: I've got XP pro, IIS 5 ,...
5
by: TonyJ | last post by:
Hello!! Is it anyone that have some experience using a good case tool that support C# design in using UML. For example reverse engineering. I have used the together case tool when I worked with...
7
by: ab3331 | last post by:
I need a tool that acts like a browser, but instead of actually rendering a page, it explains in English exactly what rules it's interpreting. This would make it simple to see which rules are...
4
by: Anastasios Hatzis | last post by:
I'm looking for a pattern where different client implementations can use the same commands of some fictive tool ("foo") by accessing some kind of API. Actually I have the need for such pattern for...
26
by: webrod | last post by:
Hi, I have some php pages with a lot of HTML code. I am looking for a HTML validator tool (like TIDY). TIDY is not good enough with PHP tags (it removes a lot of php code). Do you have any...
6
by: Jonathan Wood | last post by:
Okay, I've been through this a couple of times now but it's still not coming together. I have an existing Website that I need to add ASP.NET membership functionality to. So, after manually...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.