Terradrones Active Member Licensed User Apr 17, 2022 #1 Hi All Need help again please. What would be similar in B4A with this VB.net code: B4X: [/ Public MustOverride ReadOnly Property AvailableRTKComunicationOptions() As GPS_Structure.RTK_ComunicatioModes ]
Hi All Need help again please. What would be similar in B4A with this VB.net code: B4X: [/ Public MustOverride ReadOnly Property AvailableRTKComunicationOptions() As GPS_Structure.RTK_ComunicatioModes ]
Erel B4X founder Staff member Licensed User Longtime User Apr 17, 2022 #2 B4X: Public Sub getAvailableRTKComunicationOptions As Something It must be in a class module. Last edited: Apr 17, 2022 Upvote 0
LucaMs Expert Licensed User Longtime User Apr 17, 2022 #3 Erel said: B4X: Public getAvailableRTKComunicationOptions As Something It must be in a class module. Click to expand... Terradrones said: ReadOnly Click to expand... Upvote 0
Erel said: B4X: Public getAvailableRTKComunicationOptions As Something It must be in a class module. Click to expand... Terradrones said: ReadOnly Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Apr 17, 2022 #4 If you only add the "get" sub then you will get a readonly property. Upvote 0
LucaMs Expert Licensed User Longtime User Apr 17, 2022 #5 Erel said: If you only add the "get" sub then you will get a readonly property. Click to expand... Yes but then that answer is not good. Upvote 0
Erel said: If you only add the "get" sub then you will get a readonly property. Click to expand... Yes but then that answer is not good.
LucaMs Expert Licensed User Longtime User Apr 17, 2022 #7 Also, as you know, this keyword is related to Inheritance Terradrones said: MustOverride Click to expand... Upvote 0
Also, as you know, this keyword is related to Inheritance Terradrones said: MustOverride Click to expand...
LucaMs Expert Licensed User Longtime User Apr 17, 2022 #8 Erel said: Why? Click to expand... You just declared a public variable, which is therefore even writable. Upvote 0
Erel said: Why? Click to expand... You just declared a public variable, which is therefore even writable.
Erel B4X founder Staff member Licensed User Longtime User Apr 17, 2022 #9 Fixed. It was a typo. B4X: Public Sub getAvailableRTKComunicationOptions As Something Upvote 0