[Gambas-user] protected for a variable inherited from a class
BB
adamnt42 at gmail.com
Fri Apr 21 06:00:21 CEST 2023
On 21/4/23 1:23 pm, Mayost Sharon wrote:
> 2. In your example, still when I register hObj1 and a period in the IDE, it completes me and shows me that there is a GetPrivate method. I'm looking for a way that it won't show it to me when I create an instance of CLASS1 but when I'm in CLASS2 which is an inheritance of CLASS1 so Inside it will be possible to access CLASS1.GetPrivate
Can't be done.
More information about the User
mailing list