Re: [Gambas-user] Shipping translations for my project

2008-10-30 Thread M0E Lnx
, but there will be more) The user should see these in a listbox and pick one but where do I get the values for the listbox (without having to hardcode a list there) On Thu, Oct 30, 2008 at 12:46 PM, Benoit Minisini [EMAIL PROTECTED] wrote: On jeudi 30 octobre 2008, M0E Lnx wrote: I've got

Re: [Gambas-user] Shipping translations for my project

2008-10-30 Thread M0E Lnx
[EMAIL PROTECTED] wrote: On jeudi 30 octobre 2008, M0E Lnx wrote: Right... I understand that.. But settings System.Language = ft_FR will only translate my application to French if a French translation is available . correct? And there lies my question... I want to list the translations

Re: [Gambas-user] Please help with directory problem

2008-10-30 Thread M0E Lnx
You could try defining a integer variable to keep track of your array Here is your code with a slight modification... not tested... but try it PUBLIC SUB Button2_Click() DIM sHak AS String DIM haks AS NEW String[300] DIM hak2 AS String DIM crtdir AS String DIM i as Integer sHak =

Re: [Gambas-user] Another Embedder + gb.gtk bug

2008-10-28 Thread M0E Lnx
shoots it out and X windows decorates it. Not sure that's how it should be I was looking for a way to kill the embedde application. On Mon, Oct 27, 2008 at 7:22 PM, Benoit Minisini [EMAIL PROTECTED] wrote: On vendredi 24 octobre 2008, M0E Lnx wrote: The embedder object has another problem

Re: [Gambas-user] Another Embedder + gb.gtk bug

2008-10-28 Thread M0E Lnx
Fair enough I'm building a new svn snapshot now to continue testing the gb.gtk issue THanks On Tue, Oct 28, 2008 at 8:46 AM, Benoit Minisini [EMAIL PROTECTED] wrote: On mardi 28 octobre 2008, M0E Lnx wrote: I do not... as a matter of fact, it works perfectly on gb.qt for me (or at least I

Re: [Gambas-user] Another Embedder + gb.gtk bug

2008-10-27 Thread M0E Lnx
Anyone else seen this? On Fri, Oct 24, 2008 at 1:33 PM, M0E Lnx [EMAIL PROTECTED] wrote: The embedder object has another problem in gb.gtk I'm using gambas2 (SVN Revision 1640) Here is how I'm using it I have a treeview and an embedder. When I double-click the treeview, the selected

Re: [Gambas-user] Strange error in Embedder

2008-10-17 Thread M0E Lnx
://code.google.com/p/vinstall-ng/source/browse/branches/iVL/MdlDiskPart.module On Thu, Oct 16, 2008 at 4:51 PM, JB Skaggs [EMAIL PROTECTED] wrote: Could you give a brief example of searching by WM_CLASS? I tried before and could not get that to work. JB On Thu, 2008-10-16 at 16:18 -0500, M0E

[Gambas-user] How to nest a checkbox into a gridview's field

2008-10-14 Thread M0E Lnx
Here is what I'd like to do... Not sure how to do it or if it is possible at all I want to have an object like a gridview or tableview where I can have at least 3 columns Column1 will have a checkbox (boolean) value Column2 will have a string value (could be a textlabel or just the field's .text

Re: [Gambas-user] Help with SHELL and EXEC

2008-10-10 Thread M0E Lnx
How about just making a string of the files you want to put in the iso and parse that string to the genisoimage dim sArgs as string SHELL ls /path/to/your/files to sArgs SHELL cd /path/to/your/files ; genisoimage -o test.iso trim(sArgs) wait END On Fri, Oct 10, 2008 at 12:46 PM, Ron

Re: [Gambas-user] Adding keyboard shortcuts to listbox_keyrelease event

2008-10-09 Thread M0E Lnx
I can see in my head how this *should* work... but I tried it in my project and it doesn't On Thu, Oct 9, 2008 at 1:17 AM, Doriano Blengino [EMAIL PROTECTED] wrote: M0E Lnx ha scritto: is there a way to code it in my key_release event? On Tue, Oct 7, 2008 at 4:53 PM, Benoit Minisini [EMAIL

Re: [Gambas-user] Adding keyboard shortcuts to listbox_keyrelease event

2008-10-08 Thread M0E Lnx
is there a way to code it in my key_release event? On Tue, Oct 7, 2008 at 4:53 PM, Benoit Minisini [EMAIL PROTECTED] wrote: On mardi 07 octobre 2008, M0E Lnx wrote: I have a really long list in a lisbox. I'd like to make it so when I press s on the keyboard, it jumps to the first item whose

[Gambas-user] Adding keyboard shortcuts to listbox_keyrelease event

2008-10-07 Thread M0E Lnx
I have a really long list in a lisbox. I'd like to make it so when I press s on the keyboard, it jumps to the first item whose text starts with an s or any other letter for that matter. Can someone suggest a way to do this?

Re: [Gambas-user] Applying translation to a running application

2008-09-24 Thread M0E Lnx
, 2008 at 6:28 AM, Benoit Minisini [EMAIL PROTECTED] wrote: On mercredi 24 septembre 2008, Charlie Reinl wrote: Am Dienstag, den 23.09.2008, 22:54 +0200 schrieb Benoit Minisini: On mardi 23 septembre 2008, Charlie Reinl wrote: Am Dienstag, den 23.09.2008, 12:43 -0500 schrieb M0E Lnx: Can

Re: [Gambas-user] Applying translation to a running application

2008-09-24 Thread M0E Lnx
septembre 2008, M0E Lnx wrote: What I meant was, since you said the ob jects need to be destroyed and then re-created for the translation to be picked up.. How do I destroy the objects and create them again? I tried closing the form and opening it again, but that comes up with all kinds

[Gambas-user] Project translation from IDE

2008-09-24 Thread M0E Lnx
So, I'm trying to add support for translations in my application the IDE offers the translate window that helps in the translation to generate the .po and .mo files But here is my problem. It seems to not be searching for strings in the classes or modules. It's only picking up the .text

[Gambas-user] Applying translation to a running application

2008-09-23 Thread M0E Lnx
Can anyone think of a way to apply a translation to an application that's already running? An example would be a wizard that starts out in English, and at the first step offers the user to choose their language. After the user selects his/her language, the rest of the application get translated

[Gambas-user] Rendering image for form.Picture when form is embedded

2008-09-23 Thread M0E Lnx
Not sure if this is a bug or just another thing missing fromt he gb.gtk component Gambas2-2.8.0 is what I'm running Have a form in which i have specified a picture property If I run this form as a startup class (stand-alone) it shows up ok as it should But I need this form embedded into a panel

Re: [Gambas-user] Applying translation to a running application

2008-09-23 Thread M0E Lnx
: On mardi 23 septembre 2008, Charlie Reinl wrote: Am Dienstag, den 23.09.2008, 12:43 -0500 schrieb M0E Lnx: Can anyone think of a way to apply a translation to an application that's already running? An example would be a wizard that starts out in English, and at the first step offers

Re: [Gambas-user] Autoconf tools question

2008-08-28 Thread M0E Lnx
Any way to test this in gambas2 yet? my app is written in g2 On Wed, Aug 27, 2008 at 7:30 PM, Laurent Carlier [EMAIL PROTECTED] wrote: Le Wednesday 27 August 2008 14:54:07 M0E Lnx, vous avez écrit : I'm willing to test (pretty much all I can do) but I do appreciate you guys considering it. I

Re: [Gambas-user] Embed xfce4 panel into gambas application

2008-08-22 Thread M0E Lnx
([*] - GParted) Or someone please help me figure out the wild card thing here... I still can't get this to work Thanks On Fri, Aug 22, 2008 at 2:30 AM, Doriano Blengino [EMAIL PROTECTED] wrote: Benoit Minisini ha scritto: On jeudi 21 août 2008, Doriano Blengino wrote: M0E Lnx ha scritto: Attn

Re: [Gambas-user] Embed xfce4 panel into gambas application

2008-08-19 Thread M0E Lnx
Ok... so this may be a more accurate method than the window title is in some cases... How does one go about finding and embedding an application using the WM_CLASS property instead of the title? Can someone give me a sample line? Desktop.Find(,APPCLASS) ' Will this work??? On Mon, Aug 18,

Re: [Gambas-user] Embed xfce4 panel into gambas application

2008-08-18 Thread M0E Lnx
I'm not sure the xfce4 panel returns a title to the desktop... it is not decorated... but you can try looking for xfce4-panel (i haven't used xfce4 in a while, so this may not be accurate) On Sat, Aug 16, 2008 at 7:25 AM, joshiggins [EMAIL PROTECTED] wrote: hi all I'm trying to embed an

[Gambas-user] Autoconf tools question

2008-08-18 Thread M0E Lnx
I've gotten my application to package with the autoconf tools creator from the IDE (very nice (in version 2.8 the DESTDIR is supported)). I have a question How can I make these scripts run additional tests?. My application for instance uses other things such as Python, CMake... etc, how can I make

[Gambas-user] creating objects from code into a tabstrip

2008-08-07 Thread M0E Lnx
In a form, I have a tabstrip. The tabstrip's .count property is not defined until some conditions are met After the tabstrip's .count property has been set, I want to fill each tab of the tabstrip with a button, textlabel, textbox etc When i create my objects, how do I tell it which tab to go

Re: [Gambas-user] creating objects from code into a tabstrip

2008-08-07 Thread M0E Lnx
Thank you... this works great ;) On Thu, Aug 7, 2008 at 4:20 PM, Stephen Bungay [EMAIL PROTECTED] wrote: IN your proc.. DIM hButton1 as Button With Tabstrip1 .Index = 2 hButton1 = NEW Button(TabStrip1) AS NewButton end with M0E Lnx wrote: In a form, I have a tabstrip

Re: [Gambas-user] create button at runtime

2008-07-25 Thread M0E Lnx
http://gambasdoc.org/help/comp/gb.qt/button/_new?show DIM hButton as button hButton = new button(Your_Form_Here) With hButton .X = 4 .Y = 4 .Text = Button .height = 27 .width = 80 END WITH On Fri, Jul 25, 2008 at 6:51 AM, Francesco Cisco [EMAIL PROTECTED] wrote: how to create buttons at

[Gambas-user] Problem parsing a character to the Linux Shell

2008-07-23 Thread M0E Lnx
I'm writing an application that uses a shell like to perform some tasks. I need to parse something like lzmadecsPath to the shell. The problem is, it seems that gambas is only parsing lzmadec and ignores everything starting at the to the end of the line. I tried escaping the like \ but it

Re: [Gambas-user] Problem parsing a character to the Linux Shell

2008-07-23 Thread M0E Lnx
, M0E Lnx wrote: I'm writing an application that uses a shell like to perform some tasks. I need to parse something like lzmadecsPath to the shell. The problem is, it seems that gambas is only parsing lzmadec and ignores everything starting at the to the end of the line. I tried

Re: [Gambas-user] Aligning text in a text area

2008-07-15 Thread M0E Lnx
center-aligned if possible. On Tue, Jul 15, 2008 at 6:58 AM, Benoit Minisini [EMAIL PROTECTED] wrote: On mercredi 09 juillet 2008, M0E Lnx wrote: Is there a way to set the align = align.center property to the text displayed inside a text area? No, the TextArea has no Alignment property. Why do

Re: [Gambas-user] Aligning text in a text area

2008-07-15 Thread M0E Lnx
I have to use gb.gtk on this one... strickly gtk. I guess a text label inside a scrollview will do On Tue, Jul 15, 2008 at 3:26 PM, Benoit Minisini [EMAIL PROTECTED] wrote: On mardi 15 juillet 2008, M0E Lnx wrote: Well, I'm using a text area to display a text file. ( a copy of the GPL

Re: [Gambas-user] balloon help needed (maybe a bug?)

2008-07-14 Thread M0E Lnx
Almost forgot to mention... Using Gambas2-2.7 gb.gtk component used in my application gb.qt has been disabled. On 7/14/08, M0E Lnx [EMAIL PROTECTED] wrote: I'm trying to add a balloon message to my application, but I'm having a little problem The balloon seems flash before my eyes

[Gambas-user] Embedding another application

2008-07-09 Thread M0E Lnx
Hi again, Another small annoyance in my endeavours to use the embedder object I am trying to embed an application into my form using the embedder object. The embedding works fine (thanks to the bugfixes :=] ) but here is the little annoyance To be more specific, I'm trying to embed gparted into

Re: [Gambas-user] How to make your gambas project compile using autoconf tools

2008-06-19 Thread M0E Lnx
Sweet mother of God!... I did not know that Very nice. Thank you for providing such a kool way to do this On Thu, Jun 19, 2008 at 4:04 PM, Stefano Palmeri [EMAIL PROTECTED] wrote: Il giovedì 19 giugno 2008 21:47:48 M0E Lnx ha scritto: I've been writing gambas for a while now... continuosly

Re: [Gambas-user] Release of Gambas 2.7

2008-06-13 Thread M0E Lnx
Swt! ;) On Fri, Jun 13, 2008 at 11:59 AM, Benoit Minisini [EMAIL PROTECTED] wrote: Hi, This new release of Gambas is mainly a bugfix release: * Clicking on a virtual property in the property sheet does not crash anymore when the property help is displayed. * The automatic completion

Re: [Gambas-user] Feature Request: loading gz projects

2008-06-12 Thread M0E Lnx
I for one think this would be too much... If you're writing code, you *should* be able to compress / decompress archives IMO Just my 2 cents On Thu, Jun 12, 2008 at 9:36 AM, o.s.p [EMAIL PROTECTED] wrote: Benoit Minisini ha scritto: On jeudi 12 juin 2008, o.s.p wrote: hallo this FR borns

<    1   2