Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

New Post: Multi-line Tooltip (VBA)

$
0
0
I had the same problem with labels and ended up with this (in C#)
if (se.MapType == Constants.MAP_ZDEV_WELL2)
{
labexp = "[well]";
}
else
{
labexp = "[well]+" + "\"\n\"" + "+[depth]";
}
shpfile_depth.Labels.Generate(labexp, MapWinGIS.tkLabelPositioning.lpLongestSegement, true);

2016-06-13 12:01 GMT+02:00 Belleye <[email removed]>:

From: Belleye

Hi All,

I'm having issues creating a multi-line tooltip in excel, this is the code I have so far:
Private Sub Map1_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Long, ByVal Y As Long)
Dim ttstr As String

ttstr = "Line1" & vbCrLf &"Line2"
Map1.ShowToolTip ttstr, 1000

End Sub
Any help would be appreciated :)

Read the full discussion online.

To add a post to this discussion, reply to this email ([email removed])

To start a new discussion for this project, email [email removed]

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online atcodeplex.com



Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>