[Gambas-user] New incompatible change in /trunk

2011-04-10 Thread Benoît Minisini
Hi, I have renamed the Image.Draw() method into Image.PaintImage() method. At the same time, I added a method named Image.DrawImage(). The difference between Image.PaintImage() and Image.DrawImage() is that Image.PaintImage() takes the alpha channel into account (it blends the image), whereas

[Gambas-user] Issue 60 in gambas: combobox shows blank lines before first item (GTK+)

2011-04-10 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 60 by zachsmit...@gmail.com: combobox shows blank lines before first item (GTK+) http://code.google.com/p/gambas/issues/detail?id=60 You can also scroll upwards before t

[Gambas-user] Issue 59 in gambas: font size issue with combobox when readonly=false (GTK+)

2011-04-10 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 59 by zachsmit...@gmail.com: font size issue with combobox when readonly=false (GTK+) http://code.google.com/p/gambas/issues/detail?id=59 Font size of combobox list is O

[Gambas-user] Issue 58 in gambas: Gtk-CRITICAL error when form closed while combobox dropdown is showing

2011-04-10 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 58 by zachsmit...@gmail.com: Gtk-CRITICAL error when form closed while combobox dropdown is showing http://code.google.com/p/gambas/issues/detail?id=58 1) Run program 2)

Re: [Gambas-user] image rotate

2011-04-10 Thread Matti
If you want to do image maipulations, it is much easier to use DrawingArea instead of PictureBox (Benoît had to convice me first, too). Try something like: hImage = hImage.Rotate(Rad(95)) DrawingArea1.Refresh ' This raises the following Drawing Event of DrawingArea1 Public Sub DrawingArea1_Draw(

Re: [Gambas-user] Gambas on Suse 11.4

2011-04-10 Thread Steven Lobbezoo
Here they are, as gz Steven Le samedi 09 avril 2011 à 23:56 +0300, Jussi Lahtinen a écrit : > > I cannot do that, this list-server does not accept large files. > > > > Compress them first, prefer *.tar.gz or *.zip. > > Jussi > -

Re: [Gambas-user] Gambas on Suse 11.4

2011-04-10 Thread Steven Lobbezoo
Here they are, as gz Steven Le samedi 09 avril 2011 à 23:56 +0300, Jussi Lahtinen a écrit : > > I cannot do that, this list-server does not accept large files. > > > > Compress them first, prefer *.tar.gz or *.zip. > > Jussi > --

Re: [Gambas-user] Global search & replace

2011-04-10 Thread richard terry
On Sunday 10 April 2011 22:17:20 Olivier Cruilles wrote: Thanks, I'll try that, but I would have thought the gambas editor should accomodate global replaces. Regards Richard > Hi, > > You can use 'sed' unix command > > sed -i 's// file> > > in Gambas > > SHELL "sed -i 's/text_to_search/tex

Re: [Gambas-user] Global search & replace

2011-04-10 Thread Olivier Cruilles
Hi, You can use 'sed' unix command sed -i 's// in Gambas SHELL "sed -i 's/text_to_search/text_to_replace/g' file_example.txt" WAIT The -i option replace directly all instances founded in the file and the /g at the end indicate that you want to replace all instances and not only the first one

[Gambas-user] Global search & replace

2011-04-10 Thread richard terry
I'm missing something here, as I can see no way to do a global search and replace of a string across all files in the project. Maybe someone can help?? Regards Richard -- Xperia(TM) PLAY It's a major breakthrough. An a

Re: [Gambas-user] Enumerate collection in reverse order

2011-04-10 Thread Benoît Minisini
> Hi folks, > > I have gone brain dead on this one. > > All I want to do is enumerate a "naturally sorted" collection in reverse > order. By "naturally sorted" I mean that I know the order in which the > items were added to the collection. It's just that the order in which > they were added (as

[Gambas-user] Enumerate collection in reverse order

2011-04-10 Thread Bruce Bruen
Hi folks, I have gone brain dead on this one. All I want to do is enumerate a "naturally sorted" collection in reverse order. By "naturally sorted" I mean that I know the order in which the items were added to the collection. It's just that the order in which they were added (ascending time

Re: [Gambas-user] image rotate

2011-04-10 Thread Benoît Minisini
> I have pictureBox as canavas for displayg output of vga cam > And so? -- Benoît Minisini -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it want

Re: [Gambas-user] image rotate

2011-04-10 Thread Ondrej Beranek
I have pictureBox as canavas for displayg output of vga cam 2011/4/10 Benoît Minisini > > but it not worki'n > > > > I solve that with copy pictrure to separate variable, rotate it by > property > > rotate() and after that bring it back... > > > > this code > > > > DIM mypic AS image > > myp

Re: [Gambas-user] image rotate

2011-04-10 Thread Benoît Minisini
> but it not worki'n > > I solve that with copy pictrure to separate variable, rotate it by property > rotate() and after that bring it back... > > this code > > DIM mypic AS image > mypic = PictureBox1.Picture.Image > mypic = mypic.Rotate(Rad(95)) > > PictureBox1.Picture = mypic.Pictur

Re: [Gambas-user] Adding "not in list" item to a combobox

2011-04-10 Thread Bill-Lancaster
In fact this is really an issue about the Active event not firing in circumstances so I'll raise it as issue separately. Thanks for all your comments Bill Lancaster -- View this message in context: http://old.nabble.com/Adding-%22not-in-list%22-item-to-a-combobox-tp31362490p31363072.html Sent

Re: [Gambas-user] image rotate

2011-04-10 Thread Ondrej Beranek
but it not worki'n I solve that with copy pictrure to separate variable, rotate it by property rotate() and after that bring it back... this code DIM mypic AS image mypic = PictureBox1.Picture.Image mypic = mypic.Rotate(Rad(95)) PictureBox1.Picture = mypic.Picture but this is very slow

Re: [Gambas-user] Adding "not in list" item to a combobox

2011-04-10 Thread Olivier Cruilles
Maybe, your problem is that you don't now how to acces to the ComboBox property from the sub Form ? If it that, you can create property in your main form to acces to to ComboBox like that PROPERTY AddItem as string PRIVATE SUB AddItem_Write(Value as String) IF ComboBox1.Find(Value)

Re: [Gambas-user] Adding "not in list" item to a combobox

2011-04-10 Thread Olivier Cruilles
Maybe you ca use the KeyPress event in the Combobox and in the event procedure check if the use had pressed the Enter key to valid the new Item to enter in your list ? Did I'm in the right way of what you want to do. After, to add new Item in the list, just use: ComboBox1.List.Add("New

Re: [Gambas-user] Adding "not in list" item to a combobox

2011-04-10 Thread Bill-Lancaster
No problem, 1) A form is opened with a combobox on it 2) The combobox is filled with a list on form_open 3) The user can't see what he wants in the list so I want him to be able to add a new item As I mention above, using the activate event works on the main form but not in a sub form. Whats mo

Re: [Gambas-user] Adding "not in list" item to a combobox

2011-04-10 Thread Olivier Cruilles
Hi, Can you give more details about what you wan to do because this is a little confused ? Olivier Cruilles Mail: linu...@club-internet.fr Le 10 avr. 2011 à 09:16, Bill-Lancaster a écrit : > > > Continued... > Using the "Activate" property does the job in the main form. > When the combobox

Re: [Gambas-user] Adding "not in list" item to a combobox

2011-04-10 Thread Bill-Lancaster
Continued... Using the "Activate" property does the job in the main form. When the combobox is in a sub form the Activate event doesn't fire. The sub form is called using fEditInfo.Show i.e. not modal Gambas 2.21, Ubuntu 10.10 Bill Lancaster -- View this message in context: http://old.nabb