[Gambas-user] Public Form Controls

Bruce Steers bsteers4 at gmail.com
Sun Jul 23 22:25:14 CEST 2023


I take it you know the "individual Public" property i am speaking of?
All controls/Containers have it in the IDE
see image

BruceS

On Sun, 23 Jul 2023 at 21:18, Bruce Steers <bsteers4 at gmail.com> wrote:

>
>
> On Sun, 23 Jul 2023 at 20:57, Demosthenes Koptsis <demosthenesk at gmail.com>
> wrote:
>
>> ok i understood the example you gave....
>>
>>
>> something else now but relative to subject...
>>
>> 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 you set main options to "all controls public" then the IDE
> auto-complete can be very full of items you do not really want to see,
>
> I personally just use the individual controls "Public" property to make
> only that control visible across other forms.
> (you can hold Ctrl and select multiple controls then set their Public
> property to True in the IDE)
>
> but yes , i used to just set "all controls public" in the ide project
> properties as it was "easier" :)
> it depends on your needs.
>
> BruceS
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230723/40211364/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Untitled.jpg
Type: image/jpeg
Size: 207925 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230723/40211364/attachment-0001.jpg>


More information about the User mailing list