[Gambas-user] HTML in Text Label

2009-03-10 Thread Jason Hackney
I'm trying to insert some basic HTML into a text label and from the docs, div align=center should work, but it displays the text div align=center. Meanwhile b/b, i/i, etc. seems to work well. Also, TextLabel1.alignment = 3 has the result I want. Am I missing something? Jason

Re: [Gambas-user] Global Error Handing

2009-03-10 Thread nando
Benoit, I was thinking about the same thing. What is there was a method: _error (the brother to _new) If present in a class, a class error falls into it as a default handler Any error here most-liekly will implement Try/Catch by the programmer but _error will not catch itself: an internal flag set

[Gambas-user] Help using gb.pcre

2009-03-10 Thread David Villalobos Cambronero
Hi, I need to match some regular expresions, I think I can use Gambas to do it, in the documentation says somethig like this: (?i)\b[a-z0-9._%\...@[a-z0-9._%\-]+\.[a-z]{2,4}\b But how can I use it, any idea? Any help need thanks. Regards -- David

Re: [Gambas-user] How to write a multilingual application

2009-03-10 Thread M. Cs.
Dear Benoit, unfortunatelly that doesn't work with the created package! During the development and test-run I could retrieve the list of translations with Dir(.lang), but not with the installed program. I need another method to enable forced language switching with the installed package. Could you

Re: [Gambas-user] Help using gb.pcre

2009-03-10 Thread Rob
On Tuesday 10 March 2009 15:44, David Villalobos Cambronero wrote: Hi, I need to match some regular expresions, I think I can use Gambas to do it, in the documentation says somethig like this: (?i)\b[a-z0-9._%\...@[a-z0-9._%\-]+\.[a-z]{2,4}\b But how can I use it, any idea? That regular

Re: [Gambas-user] Help using gb.pcre

2009-03-10 Thread Jesus Guardon
Hi David This is what I did: PUBLIC FUNCTION chkEmail(sEmail AS String) AS Boolean DIM bMail AS Boolean DIM regx as Regexp IF sEmail THEN regx = NEW Regexp(sEmail,(?i)\b[a-z0-9._%\...@[a-z0-9._%\-]+\.[a-z]{2,4}\b) IF regx.Text THEN 'DEBUG regx.Text bMail =

Re: [Gambas-user] Help using gb.pcre

2009-03-10 Thread David Villalobos Cambronero
Many thanks, maybe a little example in the wiki could help. Regards -- David - Original Message From: Rob sourceforge-raind...@kudla.org To: gambas-user@lists.sourceforge.net Sent: Tuesday, March 10, 2009 2:53:08 PM Subject: Re: [Gambas-user] Help using gb.pcre On Tuesday 10

Re: [Gambas-user] Help using gb.pcre

2009-03-10 Thread David Villalobos Cambronero
Thanks Jesus I really appreciate your help. Regards -- David - Original Message From: Jesus Guardon jguar...@telefonica.net To: mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Tuesday, March 10, 2009 3:10:02 PM Subject: Re: [Gambas-user] Help using gb.pcre