Re: [Gambas-user] Me.Persistent

2011-10-30 Thread Benoît Minisini
Le 30/10/2011 22:25, tobias a écrit : > hi list, > > i thought that the following code: > > Public Sub Form_Open() > Me.Persistent = True > End > > ensures that the form (startup class) is only hidden but the program > stays alive (i have a tray icon) > but if i close the form, the programs end

[Gambas-user] Me.Persistent

2011-10-30 Thread tobias
hi list, i thought that the following code: Public Sub Form_Open() Me.Persistent = True End ensures that the form (startup class) is only hidden but the program stays alive (i have a tray icon) but if i close the form, the programs ends. i had the same thing in gambas2 and if i remember cor

Re: [Gambas-user] Message box anomaly

2011-10-30 Thread richard terry
On Monday 31 October 2011 00:43:34 Fabien Bodard wrote: > well it is not a bug, but a feature, > > The width of the box is computed from the content text width. > > you can do that as workaround > > Message.Title = "Delete an appointment" > If Message.Warning("Delete" & String(40, " "), "Yes",

[Gambas-user] Issue 138 in gambas: Bug with long constant declaration

2011-10-30 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 138 by jussi.la...@gmail.com: Bug with long constant declaration http://code.google.com/p/gambas/issues/detail?id=138 1) Describe the problem. According to documentation v

Re: [Gambas-user] Issue 136 in gambas: Cannot create inline array of Classes - Segmentation fault

2011-10-30 Thread gambas
Comment #2 on issue 136 by benoit.m...@gmail.com: Cannot create inline array of Classes - Segmentation fault http://code.google.com/p/gambas/issues/detail?id=136 Oops sorry. Really fixed in revision #4226. -- Get your

Re: [Gambas-user] Issue 137 in gambas: Gambas does not catch Process events

2011-10-30 Thread gambas
Updates: Status: Invalid Labels: -Version Version-TRUNK Comment #1 on issue 137 by benoit.m...@gmail.com: Gambas does not catch Process events http://code.google.com/p/gambas/issues/detail?id=137 You must type hProceso = EXEC ["wget", "www.google.com", "-O-", "--directory-prefi

[Gambas-user] Issue 137 in gambas: Gambas does not catch Process events

2011-10-30 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 137 by k_dilla...@hotmail.com: Gambas does not catch Process events http://code.google.com/p/gambas/issues/detail?id=137 1) Describe the problem. Hello, Im trying to down

Re: [Gambas-user] Issue 136 in gambas: Cannot create inline array of Classes - Segmentation fault

2011-10-30 Thread gambas
Updates: Status: Fixed Labels: -Version Version-TRUNK Comment #1 on issue 136 by benoit.m...@gmail.com: Cannot create inline array of Classes - Segmentation fault http://code.google.com/p/gambas/issues/detail?id=136 Fixed in revision #4224. The problem is the [...] operator tha

Re: [Gambas-user] Message box anomaly

2011-10-30 Thread Fabien Bodard
well it is not a bug, but a feature, The width of the box is computed from the content text width. you can do that as workaround Message.Title = "Delete an appointment" If Message.Warning("Delete" & String(40, " "), "Yes", "No") = 2 Then Return

Re: [Gambas-user] Message box anomaly

2011-10-30 Thread richard terry
On Sunday 30 October 2011 22:38:31 Fabien Bodard wrote: > 2011/10/30 richard terry : > > On Sunday 30 October 2011 21:37:29 Fabien Bodard wrote: > >> 2011/10/30 richard terry : > >> > On Sunday 30 October 2011 21:28:16 Fabien Bodard wrote: > >> >> 2011/10/30 richard terry : > >> >> > This code: > >

Re: [Gambas-user] Send an Event...?

2011-10-30 Thread Fabien Bodard
What gambas miss in fact is a way to force the LAST Content. With that i can do : Public Button1_Click() LAST = TextBox1 TextBox1_Change() ENd Maybe a function Obect.CallEvent(TextBox1, "Change") will be usefull by setting the LAST keyword internally 2011/10/30 J_Mischk3 : > > > > Fabien Bo

Re: [Gambas-user] Message box anomaly

2011-10-30 Thread Fabien Bodard
2011/10/30 richard terry : > On Sunday 30 October 2011 21:37:29 Fabien Bodard wrote: >> 2011/10/30 richard terry : >> > On Sunday 30 October 2011 21:28:16 Fabien Bodard wrote: >> >> 2011/10/30 richard terry : >> >> > This code: >> >> > >> >> >  Message.Title = "Delete an appointment" >> >> >   If M

Re: [Gambas-user] Send an Event...?

2011-10-30 Thread J_Mischk3
Fabien Bodard-4 wrote: > > > Well this what i do : > > Public sub Button_Click() > > TextBox1OnButtonClick > > End > > Private Sub TextBox1OnButtonClick() > > TextBox1.Background=color.yellow > > End > > > Hi Fabien, that's another sight of what I want, but it will work and that

Re: [Gambas-user] Message box anomaly

2011-10-30 Thread richard terry
On Sunday 30 October 2011 21:37:29 Fabien Bodard wrote: > 2011/10/30 richard terry : > > On Sunday 30 October 2011 21:28:16 Fabien Bodard wrote: > >> 2011/10/30 richard terry : > >> > This code: > >> > > >> > Message.Title = "Delete an appointment" > >> > If Message.Warning("Delete", "Yes", "No"

Re: [Gambas-user] Send an Event...?

2011-10-30 Thread Fabien Bodard
2011/10/30 J_Mischk3 : > > > > Adam Ant wrote: >> >> >> >> Translated:  "The button control raises the event "Click" when the mouse >> button is clicked on it. Can a textarea control observe and handle the >> button's Click event?" >> The literal answer is "no" because the native textarea control d

Re: [Gambas-user] Message box anomaly

2011-10-30 Thread Fabien Bodard
2011/10/30 richard terry : > On Sunday 30 October 2011 21:28:16 Fabien Bodard wrote: >> 2011/10/30 richard terry : >> > This code: >> > >> >  Message.Title = "Delete an appointment" >> >   If Message.Warning("Delete", "Yes", "No") = 2 Then Return >> > >> > gives a gui-oddity - in that if the length

Re: [Gambas-user] Message box anomaly

2011-10-30 Thread richard terry
On Sunday 30 October 2011 21:28:16 Fabien Bodard wrote: > 2011/10/30 richard terry : > > This code: > > > > Message.Title = "Delete an appointment" > > If Message.Warning("Delete", "Yes", "No") = 2 Then Return > > > > gives a gui-oddity - in that if the length of the text in the dialog < > > len

Re: [Gambas-user] Message box anomaly

2011-10-30 Thread Fabien Bodard
2011/10/30 richard terry : > This code: > >  Message.Title = "Delete an appointment" >   If Message.Warning("Delete", "Yes", "No") = 2 Then Return > > gives a gui-oddity - in that if the length of the text in the dialog < length > of the message.title then the message.title is truncated. gb.form.d

Re: [Gambas-user] Send an Event...?

2011-10-30 Thread J_Mischk3
Adam Ant wrote: > > > > Translated: "The button control raises the event "Click" when the mouse > button is clicked on it. Can a textarea control observe and handle the > button's Click event?" > The literal answer is "no" because the native textarea control does not > observe events from so

Re: [Gambas-user] Send an Event...?

2011-10-30 Thread J_Mischk3
Fabien Bodard-4 wrote: > > > > really i don't understand what you want to do > > Ok, I'll try to explain. ( For some years ago I worked with a 4GL tool under Win.) My example: One Button, one Textarea. Button-click-> the button raise the "click" signal. Under this tool you could "c

Re: [Gambas-user] ToolButtons do not appear correct in Toolbar

2011-10-30 Thread Demosthenes Koptsis
Well i saw how Gambas IDE implements the toolbar and i found out that it uses HBoxes and not Toolbars. So i put side by side an HBox and a Toolbar to demonstrate a bug in Toolbar draw on the form Toolbar cuts in half the Toolbuttons. See screenshots. There is a screenshot in design mode and ano

[Gambas-user] checkinstall error

2011-10-30 Thread Demosthenes Koptsis
i have LMDE and Gambas3-svn4223. i get the following error from checkinstall -D command --- make[1]: Entering directory `/home/user/Downloads/Gambas/gambas3-svn4223/examples' make[2]: Entering directory `/home/user/Downloads/Gambas/gambas3-svn4223/examples' Installing the gam