[Gambas-user] IDE properties and auto-inheritance

Bruce Steers bsteers4 at gmail.com
Sat Mar 25 17:18:09 CET 2023


On Sat, 25 Mar 2023 at 16:10, BB <adamnt42 at gmail.com> wrote:

>
> On 26/3/23 2:29 am, Bruce Steers wrote:
>
> Is there a reason i cannot set properties in the IDE with auto-inherited
> TextLabel?
>
> Consider the following code named TextLabel.class..
>
> ' Gambas class file
>
> Export
>
> Public Const _Properties As String = "*,IsHeader"
>
> snip

> Is it a bug or is it wrong to expect the IDE to use properties from
> auto-inherited classes?
>
> Cheers
> BruceS
>
>
> You know, I have never thought of trying it that way. I think it's because
> you are not really inheriting but actually overriding the TextLabel class
> and imagine that the form designer is only saving the properties of the
> native class?
>
> Have a look at the .form file. Is the new property there? As there is no
> default value for the property it should be, no matter what you set it to
> in the form designer. ... Then again, maybe if you did give it a default
> value the goblins might behave differently.
>
> b
>

It does not seem to matter how i configure it the property does not change
from it's preset and it does not show in the .form file.

BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230325/99c61a49/attachment.htm>


More information about the User mailing list