[Gambas-user] Public Form Controls
T Lee Davidson
t.lee.davidson at gmail.com
Sun Jul 23 22:10:56 CEST 2023
On 7/23/23 15:56, Demosthenes Koptsis wrote:
> Which programming approach is better... Public Form Controls OR Not Public...
>
> As new programmer i feel more easier the Public Form Controls.
>
> The example you gave increase complexity...
If I need to access a control from other than its parent form, I have no qualms about making it Public.
Public does not mean that it is accessible from outside the application. It just gives it global scope within the application.
--
Lee
More information about the User
mailing list