Sergio Haurat Active Member Licensed User Longtime User Jun 8, 2024 #1 Hi @Alexander Stolte, I have made a lot of progress with an Android application and finally I decided to pay the U$D99 to Apple and I found this difference: In general context, when the application starts it tries to know if there is internet or not. If there is no connection, it disables some buttons that depend on connectivity to access a database. B4X: Copy Sub Class_Globals 'AS_TabMenuAdvanced Private btnTabMenu As AS_TabMenuAdvanced #If B4I Private xpnl_bottom As B4XView #End If 'AS_TabMenuAdvanced End Sub B4A, line 133 to 136 B4I, line 133 to 136 (Ignore the error on line 132, I have to find a way to get the Internet check to work on both operating systems.) Line 133 error Line 136 error Reference library: https://www.b4x.com/android/forum/threads/b4x-xui-as-tabmenuadvanced.140907/
Hi @Alexander Stolte, I have made a lot of progress with an Android application and finally I decided to pay the U$D99 to Apple and I found this difference: In general context, when the application starts it tries to know if there is internet or not. If there is no connection, it disables some buttons that depend on connectivity to access a database. B4X: Copy Sub Class_Globals 'AS_TabMenuAdvanced Private btnTabMenu As AS_TabMenuAdvanced #If B4I Private xpnl_bottom As B4XView #End If 'AS_TabMenuAdvanced End Sub B4A, line 133 to 136 B4I, line 133 to 136 (Ignore the error on line 132, I have to find a way to get the Internet check to work on both operating systems.) Line 133 error Line 136 error Reference library: https://www.b4x.com/android/forum/threads/b4x-xui-as-tabmenuadvanced.140907/
Solution Sergio Haurat Jun 10, 2024 Alexander Stolte said: Can you provide an example project that shows your behavior? Thank you very much Click to expand... @Alexander Stolte, the problem is not with your library, the IDE parses the code after an error and inherits it. If I change line 132 to a valid one (as seen in the attached image), it does not "inherit" the error
Alexander Stolte said: Can you provide an example project that shows your behavior? Thank you very much Click to expand... @Alexander Stolte, the problem is not with your library, the IDE parses the code after an error and inherits it. If I change line 132 to a valid one (as seen in the attached image), it does not "inherit" the error
Alexander Stolte Expert Licensed User Longtime User Jun 8, 2024 #2 Can you provide an example project that shows your behavior? Thank you very much Upvote 0
Sergio Haurat Active Member Licensed User Longtime User Jun 10, 2024 #3 Alexander Stolte said: Can you provide an example project that shows your behavior? Thank you very much Click to expand... @Alexander Stolte, the problem is not with your library, the IDE parses the code after an error and inherits it. If I change line 132 to a valid one (as seen in the attached image), it does not "inherit" the error Upvote 0 Solution
Alexander Stolte said: Can you provide an example project that shows your behavior? Thank you very much Click to expand... @Alexander Stolte, the problem is not with your library, the IDE parses the code after an error and inherits it. If I change line 132 to a valid one (as seen in the attached image), it does not "inherit" the error