[/
Public Property Longitude() As Coordinate
Get
Return cooLong
End Get
Set(value As Coordinate)
If value.Direction = CardinalDirection.East OrElse value.Direction = CardinalDirection.West Then
cooLong = value
GetUTM()
End If
End Set
End Property
]
How would I write this in B4A?
Thanks
Michael
Type Coordinate(Direction As Int)
Private cooLong As Coordinate
Public Sub setLongitude(value As Coordinate)
If value.Direction = CardinalDirection.East Or value.Direction = CardinalDirection.West Then
cooLong = value
GetUTM()
End If
End Sub
Public Sub getLongitude
Return cooLong
End Sub