Android Question With....End With

Terradrones

Active Member
Licensed User
Hi All

I need help\hint again please.

What would be similar in B4A with the "With.....Code.....End With"? This is from VB.net:

B4X:
[/
        With GPSObject.RTK_Base
            .StopBase()

            'If .IsRecordRAWDataAvailable And RecordRawDataInRTK Then .RecordRAWData = True Else .RecordRAWData = False
            .ElevetionMask = ElevationMask
            .Site_ID = SiteID
            .SetBaseComunication(GPS_Structure.RTK_CommunicatioTypeEnum.InternalUHF)

            With .InternalUHF
                .Disconnect()
                .TransmitterPower = UHFPowerMode
                '.RadioMode = UHFRadioMode
                .Channel = UHFChannel
                .RTKCorrectionType = RTKCorrectionType
                .Connect()
            End With
            .SetBasePosition(Latitude, Longitude, Elev)
            .StartBase()
        End With
]
 
Top