Share via


VisibleInBalloon property

Returns whether the specified field is displayed in Pushpin balloons. Read-only Boolean.

Applies to

Objects:  Field

Syntax

object.VisibleInBalloon

Parameters

Part Description
object Required. An expression that returns a Field object.

Remarks

To set which fields are visible in Pushpin balloons for a data set, use the SetFieldsVisibleInBalloon method on the DataSet object.

Example

    Sub WhatIsVisible()
    Dim objApp As New MapPoint.Application
    Dim objDataSet As MapPoint.DataSet
    Dim objField As MapPoint.Field
    objApp.Visible = True
    objApp.UserControl = True

    Set objDataSet = objApp.OpenMap(objApp.Path & "\Samples\Clients.ptm").DataSets("Clients")
    'Test the visibility information of each field     For Each objField In objDataSet.Fields     MsgBox objField.Name & " visible: " & objField.VisibleInBalloon     Next   End Sub