[Gambas-user] Custom controls, Non-String arrays in the IDE

Bruce Steers bsteers4 at gmail.com
Wed Aug 17 13:42:36 CEST 2022


On Mon, 15 Aug 2022 at 09:18, Bruce Steers <bsteers4 at gmail.com> wrote:

>
>
> On Mon, 15 Aug 2022 at 09:13, Bruce Steers <bsteers4 at gmail.com> wrote:
>
>>
>>
>> On Wed, 10 Aug 2022 at 15:26, Benoit Minisini <
>> benoit.minisini at gambas-basic.org> wrote:
>>
>> snip
>>
>>
>>
>>> > Could you implement Array type? like my first idea of using the
>>> existing
>>> > String[] editor to edit then converting the strings to respective
>>> types?
>>> > And possibly a more complicated Color[] type to set multiple colors?
>>> > Dang, in my head this just got a lot more complicated :-\
>>> >
>>> >
>>> > Many thanks
>>> > BruceS
>>> >
>>>
>>> Let's put the usefullness of flashy gradient buttons aside. What you
>>> would need is actually a brush, not a gradient. The gradient is just a
>>> particular case of a brush.
>>>
>>> And editing a brush (or any other complex property) in the form editor
>>> needs:
>>
>>
oh my god you're right. and right about the ReportBrush too.
Sorry i didn't get it at first.

I can just use a string value set to use {ReportBrush} type and there is
everything i needed in a string that I can easily work with. don't even
need to add gb.report.

Awesome :)
Respects.
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220817/1dda4a52/attachment.htm>


More information about the User mailing list