Saverio Member Licensed User Longtime User Apr 4, 2014 #1 Private Types visible only inside a class. Declaring a class, I don't want see them in the properties/methods list shown at that moment. Of Course Public Types must remain Thank you
Private Types visible only inside a class. Declaring a class, I don't want see them in the properties/methods list shown at that moment. Of Course Public Types must remain Thank you
derez Expert Licensed User Longtime User Apr 4, 2014 #2 Not sure I understand the problem. When setting a type in a class it is not visible outside of the class. When setting a variable as that type, if you set it private - you will not see it outside of the class. If public - then it is visible.
Not sure I understand the problem. When setting a type in a class it is not visible outside of the class. When setting a variable as that type, if you set it private - you will not see it outside of the class. If public - then it is visible.
Erel B4X founder Staff member Licensed User Longtime User Apr 4, 2014 #3 The type itself (not any instance of it) is globally visible.
Saverio Member Licensed User Longtime User Apr 4, 2014 #4 @derez Thank you for reply. I will explain myself better: As shown in the picture below In the next pictures is shown what you will get, for example, in Main module and As you can see, Types, even declared in Class Globals sub(that should have class scope), all of them are visible in Main module. Saverio
@derez Thank you for reply. I will explain myself better: As shown in the picture below In the next pictures is shown what you will get, for example, in Main module and As you can see, Types, even declared in Class Globals sub(that should have class scope), all of them are visible in Main module. Saverio
Saverio Member Licensed User Longtime User Apr 4, 2014 #5 @Erel, thank you for reply. So is not possible Private Types, or, are you planning some changes for the future? Saverio
@Erel, thank you for reply. So is not possible Private Types, or, are you planning some changes for the future? Saverio
Erel B4X founder Staff member Licensed User Longtime User Apr 4, 2014 #6 My answer was to derez. Currently it is not possible. Maybe in the future.
Eme Fibonacci Well-Known Member Licensed User Longtime User Oct 19, 2018 #7 Erel said: My answer was to derez. Currently it is not possible. Maybe in the future. Click to expand... Are we in the future?
Erel said: My answer was to derez. Currently it is not possible. Maybe in the future. Click to expand... Are we in the future?