# Re: Rss-wxruby

**URL:** <https://www.ruby-forum.com/t/re-rss-wxruby/138541>\
**Category:** wxRuby\
**Created:** [May 24, 2008, 8:44am UTC](https://www.ruby-forum.com/t/re-rss-wxruby/138541 "2008-05-24T08:44:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![beusse](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/439d5e/32.png) [@beusse](https://www.ruby-forum.com/u/beusse)\
**Post date:** [May 24, 2008, 8:44am UTC](https://www.ruby-forum.com/t/re-rss-wxruby/138541/1 "2008-05-24T08:44:07Z")

</div>

Bonjour Mario, le problÃ¨me n’est pas la couleur de la frame mais les  
carrÃ©s qui ressortent dans “TreeCtrl” et “CheckListBox”.  
Voir l’url:  
[http://www.infos-du-net.com/telecharger/Capture-ecran-Rss-wxruby,0302-22046.html](http://www.infos-du-net.com/telecharger/Capture-ecran-Rss-wxruby,0302-22046.html)  
Je n’ai pas tout ces carrÃ©s qui apparaÃ®ssent en fin de ligne(qui sont  
des retours Ã la ligne) quand j’utilise Rss-wxruby sur mon pc.  
Voir l’url: [http://beusse.liveror.com/images/Rss-wxruby1.bmp](http://beusse.liveror.com/images/Rss-wxruby1.bmp)  
Quel peut-Ãªtre le problÃ¨me?  
merci  
sebastien  
[http://beusse.liveror.com/](http://beusse.liveror.com/)

---

<div class="post-metadata">

**Author:** ![beusse](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/439d5e/32.png) [@beusse](https://www.ruby-forum.com/u/beusse)\
**Post date:** [May 24, 2008, 9:08am UTC](https://www.ruby-forum.com/t/re-rss-wxruby/138541/2 "2008-05-24T09:08:06Z")

</div>

sebastien wrote:

> [http://beusse.liveror.com/](http://beusse.liveror.com/)  
> [Hello Mario, the problem is not the colour of the frame but the square  
> that emerge in “TreeCtrl” and “CheckListBox.”  
> See url:  
> [RSS Xpress : quoi en faire ? - Infos du Net](http://www.infos-du-net.com/telecharger/Capture-ecran-Rss-wxruby)  
> ,0302-22046. Html  
> I do not have all these squares that appear at the end of line (which  
> returns to the line) when I Rss-wxruby on my pc.  
> See URL: [http://beusse.liveror.com/images/Rss-wxruby1.bmp](http://beusse.liveror.com/images/Rss-wxruby1.bmp)  
> What may be the problem?  
> thank you  
> Sebastien]

Bonjour SÃ©bastien,

Je ne m’excuse, je pensais que vous faisaient allusion au bords noirs  
autour de tous les quatre contrÃ´les que vous avez dans la fenÃªtre  
principale.

En ce qui concerne cette case, la seule chose que je pouvais penser,  
c’est qu’il mai Ãªtre un non-caractÃ¨re imprimable. En gÃ©nÃ©ral, Windows a  
tendance Ã imprimer non-caractÃ¨res imprimables interface graphique sous  
Windows, avec un boÃ®te caractÃ¨re. Mai Vous voulez vÃ©rifier et  
assurez-vous que vous n’avez pas un caractÃ¨re de retour (10) ou d’une  
ligne (13) dans la chaÃ®ne que vous utilisez pour fixer l’Ã©tiquette de  
l’arbre Point.

La meilleure faÃ§on de le faire, est d’utiliser String bande # (), qui  
supprime tous les caractÃ¨res retour / saut de ligne, ainsi que d’espaces  
Ã la fin de la chaÃ®ne. Vous mai Ã©galement besoin de vÃ©rifier l’onglet  
caractÃ¨res (9). Ce ne sont lÃ que quelques suggestions. Ã€ peu prÃ¨s,  
toute non-reconnu caractÃ¨re qui peut Ãªtre imprimÃ© sur une interface GUI,  
sera reprÃ©sentÃ© par le caractÃ¨re.

Bonne chance,

[Hello Sebastien,

I do apologize, I thought you were referring to the black borders around  
all the the four controls you have in the main window.

As to that box, the only thing that I could think of, is that it may be  
a non-printable character. In general, Windows tends to print  
not-printable characters in Windows GUI, with a box character. You  
may want to check and make sure you don’t have a Character Return (10)  
or a Line Feed (13) in the string that you use to set the label for the  
Tree Item.

The easiest way to do this, is to use String#strip(), which removes any  
Character Returns / Line Feeds, as well as any spaces at the end of the  
string. You may also need to check for Tab characters (9). These are  
just a few suggestions. Pretty much, any non-recognized character that  
can be properly printed on a GUI Interface, will be represented with the  
 character.

Good luck,]
