[Gambas-user] Colors in a control

Gianluigi bagonergi at gmail.com
Mon May 7 16:22:44 CEST 2018


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


> --------------------------------------------------
>
> 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/fbae930b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestColors-0.0.1.tar.gz
Type: application/gzip
Size: 116795 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180507/fbae930b/attachment-0001.gz>


More information about the User mailing list