Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on displaying custom data on Pushpins when linked within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; hi all, im using a local text file as a data source file for my pushpins. i link to the ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| displaying custom data on Pushpins when linked im using a local text file as a data source file for my pushpins. i link to the file and retrieve all my pushpins but each pushpin only display the name of the person and the address. i would like to display the telephone number along side the above details. is there any type of setting or property that can be used to do so? any help, support, examples would be very much appreciated ... thank you all |
| ||||
|
Oh sorry.. did you try this method? from the help file... (below). I don't know the syntax for C#, but there are some C#-related code samples in this forum and articles that may have some pointers, this one comes to mind: http://www.mp2kmag.com/a103--chandu.....mappoint.html SetFieldsVisibleInBalloon method Sets which fields are visible in Pushpin balloons for the specified data set. Applies to Objects: DataSet Syntax object.SetFieldsVisibleInBalloon(ArrayOfFields) Parameters Part Description object Required. An expression that returns a DataSet object. ArrayOfFields Required Variant. An array that contains the Field objects to display in the Pushpin balloons. Example Sub ShowOnlySomeFields() Dim objApp As New MapPoint.Application Dim objDataSet As MapPoint.DataSet objApp.Visible = True objApp.UserControl = True Set objDataSet = objApp.OpenMap(objApp.Path & "\Samples\Clients.ptm").DataSets(1) arArray = Array(objDataSet.Fields(1), objDataSet.Fields(2), objDataSet.Fields(3)) 'Set which fields will be visible in the Pushpin balloon objDataSet.SetFieldsVisibleInBalloon arArray 'Show the balloon for the first record objDataSet.QueryAllRecords.Pushpin.BalloonState = geoDisplayBalloon End Sub
__________________ |
![]() |
| Tags |
| custom, data, displaying, linked, pushpins |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Matched Zipcode Not Displaying in Custom Territory | csharpdeveloper | MapPoint 2006/2009 Discussion | 0 | 10-06-2005 09:39 PM |
| Push Pins not showing up on linked data? | chucker | MapPoint 2006/2009 Discussion | 1 | 01-13-2005 03:15 PM |
| problem with hyperlinks in linked data | hpaul | MapPoint 2006/2009 Discussion | 0 | 04-28-2004 01:32 PM |
| Updating an embedded map in Excel from linked data | Matt | MapPoint 2006/2009 Discussion | 0 | 05-13-2003 09:27 AM |
| Using the shaded circle map and linked data, can I.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 10-10-2001 07:28 AM |
Ibiza Holiday
Visit the party capital of Europe with an Ibiza holiday! Check out the deals online on UlookUbook...