Re: [Gambas-user] collection syntax difficulty

2009-06-09 Thread richard terry
On Wed, 10 Jun 2009 03:46:45 am Jussi Lahtinen wrote: > I'm not sure what you mean. > In collections, why order of elements matter? > Maybe instead, you need to use Object[] data type? I'm using collections of collections and in some situations I may have only one collection in the collections,

[Gambas-user] HID USB in Gambas

2009-06-09 Thread programacion
Hello I wonder if anyone has handled the usb port in HID mode. Regards -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribut

Re: [Gambas-user] collection syntax difficulty

2009-06-09 Thread Jussi Lahtinen
I'm not sure what you mean. In collections, why order of elements matter? Maybe instead, you need to use Object[] data type? This doesn't work; MyCollection[999] however, these works; MyCollection["999"] and Dim ii as Integer = 999 MyCollection[ii] So, you don't have to convert variables to

Re: [Gambas-user] clipboard

2009-06-09 Thread Jason Hackney
Beren, I don't know if you're absolutely tied to GTK or non-KDE libraries, but this may help if you are considering inserting a browser into your project: http://www.gambasdoc.org/help/comp/gb.qt.kde.html/webbrowser -j-

Re: [Gambas-user] clipboard

2009-06-09 Thread Benoît Minisini
> > It seems that with QT3 you have to copy the data into the clipboard > > several times, with a little event loop pause between each try. Otherwise > > you cannot be sure that the data is actually in the clipboard. > > > > With QT4 things seems to behave normally > > We are talking about Linux ri

Re: [Gambas-user] clipboard

2009-06-09 Thread Ron
> It seems that with QT3 you have to copy the data into the clipboard several > times, with a little event loop pause between each try. Otherwise you cannot > be sure that the data is actually in the clipboard. > > With QT4 things seems to behave normally We are talking about Linux right? This

Re: [Gambas-user] clipboard

2009-06-09 Thread Benoît Minisini
> > > > It seems there is a bug: > > > > Clipboard.Copy("hello") ' Don't work > > Clipboard.Copy("hello", "text/plain") ' Works! > > > > ...whereas the two should behave the same. > > > > So there is a workaround at the moment, but I have no idea why the first > > fails... > > > > Regards, > > Sorr

Re: [Gambas-user] clipboard

2009-06-09 Thread Benoît Minisini
> > Il lunedì 8 giugno 2009 17:27:11 Beren Scott ha scritto: > > > On Mon, 2009-06-08 at 16:47 +0200, Stefano Palmeri wrote: > > > > Il lunedì 8 giugno 2009 16:03:23 Beren Scott ha scritto: > > > > > On Mon, 2009-06-08 at 02:44 -0700, charlesg wrote: > > > > > > Hi, > > > > > > > > > > > > Clipboar

Re: [Gambas-user] clipboard

2009-06-09 Thread Benoît Minisini
> Il lunedì 8 giugno 2009 17:27:11 Beren Scott ha scritto: > > On Mon, 2009-06-08 at 16:47 +0200, Stefano Palmeri wrote: > > > Il lunedì 8 giugno 2009 16:03:23 Beren Scott ha scritto: > > > > On Mon, 2009-06-08 at 02:44 -0700, charlesg wrote: > > > > > Hi, > > > > > > > > > > Clipboard.Copy(txtItem

Re: [Gambas-user] collection syntax difficulty

2009-06-09 Thread Ricardo Díaz Martín
Maybe the problem is key in collection are String and you are using MyCollection(999). Try: MyCollection("999") to get reference to this element. In adition, when you are adding elements to MyCollection, convert the key to string (MyCollection.Add(element, CString(ElementKey)) regards Ricardo

[Gambas-user] collection syntax difficulty

2009-06-09 Thread richard terry
Gambas DOC: Returns the key of the last read or last enumerated element. I'm having problem reading the key of a collection with collection.key. I guess gambas is behaving as gambas says it will, however it would be nice to be able to get the first key in a collection without having to iterate

Re: [Gambas-user] clipboard

2009-06-09 Thread Stefano Palmeri
Il martedì 9 giugno 2009 08:21:13 Doriano Blengino ha scritto: > Beren Scott ha scritto: > > The goal of my program is to keep an offline database and use it to plan > > out a series of actions which are html based and online. So, the > > database is accessed by my program, my program formulates wi

[Gambas-user] IDE drop down subroutine combo box Problem

2009-06-09 Thread richard terry
Well, perhaps not an error Build 2010, but over the last few builds this no longer reacts to a keypress to jump to the subroutine starting with that name, instead focus seems to have been returned to the editor text and the letter being pressed is written to ones code! Regards Richard ---