[Gambas-user] Word Wrap in GridView or TableView
Hi, The Re. says it all: Is there an automatic word-wrapping (line wrap) in GridView or TableView? Or could this be done by code (inserting LF for instance)? If so, the line height for that cell should be increased properly, could one find the necessary data, and does this work? Thanks for your hints! Rolf - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Shipping translations for my project
The code I'm using now is somewhat similar, except, I'm using a columnview, and storing the LANGUAGE CODE as the key for each entry and the LANGUAGE NAME as the .text property for each entry. I foud it's easier to do it this way than it is to keep up with 2 arrays of the same thing, I just use what gambas already has. So when you select an item in the columnview, you can easily get it's LANG CODE by getting the selection's key. But beniot is right... It seems to me that the resulting binary should be able to rdir(.lang) On Fri, Oct 31, 2008 at 6:47 AM, Benoit Minisini [EMAIL PROTECTED] wrote: On jeudi 30 octobre 2008, M0E Lnx wrote: And that's what I'm doing at the moment. But that only works when the application is ran inside the IDE if I run it outside the IDE, then it doesn't list the languages not even when ran from the same directory that contains .lang suggestions? Mmm. This is an old bug in Dir() when browsing an executable. -- Benoit Minisini - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Please help with directory problem
On vendredi 31 octobre 2008, Kari Laine wrote: Thanks Benoit ! I often forget the WAIT keyword after a SHELL or EXEC command, so now I think this syntax was not a really good idea. I should have used the opposite syntax, i.e. a keyword like BACKGROUND or DO NOT WAIT! -- Benoit Minisini - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Regular expressions
On Thursday 30 October 2008 23:32:09 Rob wrote: On Thursday 30 October 2008 17:59, Markus Schatten wrote: I'm a newbee to Gambas and I have a little problem. I would like to use the pcre Regexp class, but I seem not to be able to find any examples of how to instantiate a new object nor how to use such objects. Is there any documentation/tutorial/example? If not could please someone post a short example on how to use it? Yeah, I updated the wiki a few weeks ago with some documentation. See if it's what you need and tell me if it isn't. http://gambasdoc.org/help/comp/gb.pcre Here is the page about instantiation, to which I just added a brief example: http://gambasdoc.org/help/comp/gb.pcre/regexp/_new Thanks a lot for the links, they were very helpfull. Is there a way to use a regex for looping through all matches? Something like scan() in a for each loop or findall in python-re? I was able to figure out that the Text property holds the first match, Submatches is an array of given submatches (in parenthesis) and Offset holds the index if the first match. There seem to be no other properties defined... Best regards, -- Markus Schatten, MSc Faculty of Organization and Informatics Varaždin, Croatia http://www.foi.hr - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user