[Gambas-user] Colors in a control

Gianluigi bagonergi at gmail.com
Mon May 7 16:42:41 CEST 2018


2018-05-07 16:22 GMT+02:00 Gianluigi <bagonergi at gmail.com>:

>
>
> 2018-05-07 12:54 GMT+02:00 Rolf-Werner Eilert <rwe-sse at osnanet.de>:
>
>> Am 07.05.2018 um 11:45 schrieb Hans Lehmann:
>>
>>> Hello,
>>> I want to display data in a control line by line. Data that was sent in
>>> the color red and data that was received in green. Which control would be
>>> the right choice? Or does anyone have ideas for good alternatives - if
>>> possible with a code example?
>>>
>>> With kind regards
>>>
>>> Hans
>>>
>>>
>> My first impulse says GridView with RichText, though simple Text can be
>> coloured as well.
>>
>> How much data is there anyway? If you chose GridView, you might want to
>> divide strings before inserting them. But GridView would have the advantage
>> that it updates automagically (if you let it do that) and can grow
>> "endless".
>>
>> Regards
>> Rolf
>>
>>
> Hi Hans and Rolf
> do you mean something like that?
> See attached project.
>
> Regards
> Gianluigi
>
>

I forgot to mention that I took the picture from here [0]

Regards
Gianluigi

[0] https://it.wikipedia.org/wiki/Canale_alfa


> --------------------------------------------------
>>
>> This is the Gambas Mailing List:
>> https://lists.gambas-basic.org/listinfo/user
>>
>> Search the list:
>> https://lists.gambas-basic.org/cgi-bin/search.cgi
>>
>> Hosted by https://www.hostsharing.net
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180507/1118a717/attachment.html>


More information about the User mailing list