Re: [Gambas-user] Issue 197 in gambas: Example of aplet for Lubuntu

2012-01-19 Thread gambas
Updates: Status: Invalid Comment #1 on issue 197 by benoit.m...@gmail.com: Example of aplet for Lubuntu http://code.google.com/p/gambas/issues/detail?id=197 This is a bug tracker, not a mailing-list nor a forum. Please post such request on the mailing-list! -

Re: [Gambas-user] Issue 199 in gambas: LostFocus & Leave events not activated for ValueBox

2012-01-19 Thread gambas
Updates: Status: Accepted Labels: -Version -GUI-Any Version-TRUNK GUI-GTK Comment #1 on issue 199 by benoit.m...@gmail.com: LostFocus & Leave events not activated for ValueBox http://code.google.com/p/gambas/issues/detail?id=199 (No comment was entered for this change.) --

Re: [Gambas-user] Issue 194 in gambas: "IIf" is buggy

2012-01-19 Thread gambas
Updates: Status: Fixed Comment #7 on issue 194 by benoit.m...@gmail.com: "IIf" is buggy http://code.google.com/p/gambas/issues/detail?id=194 (No comment was entered for this change.) -- Keep Your Developer Skill

[Gambas-user] Search tool button for code in IDE

2012-01-19 Thread John Rose
Perhaps I'm missing something. However, I don't see a Search tool button for code in the IDE (though there is one for the Console). If not, I think that it would be a useful addition to the IDE. -- Keep Your Developer Skill

[Gambas-user] Issue 199 in gambas: LostFocus & Leave events not activated for ValueBox

2012-01-19 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 199 by john.aaron.r...@gmail.com: LostFocus & Leave events not activated for ValueBox http://code.google.com/p/gambas/issues/detail?id=199 I have a problem with validatin

Re: [Gambas-user] ValueBox value validation

2012-01-19 Thread John Rose
Thanks, Caveat, for confirming this bug. I'll now report it as an issue. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual

[Gambas-user] Issue 198 in gambas: ShowHidden property in OpenFile, SaveFile & SelectDir functions

2012-01-19 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 198 by john.aar...@gmail.com: ShowHidden property in OpenFile, SaveFile & SelectDir functions http://code.google.com/p/gambas/issues/detail?id=198 It would be nice if the

Re: [Gambas-user] Issue 194 in gambas: "IIf" is buggy

2012-01-19 Thread gambas
Comment #6 on issue 194 by emil.len...@gmail.com: "IIf" is buggy http://code.google.com/p/gambas/issues/detail?id=194 I think that will work :) -- Keep Your Developer Skills Current with LearnDevNow! The most comprehens

Re: [Gambas-user] Help! I can't find the error

2012-01-19 Thread John Spikowski
On Thu, 2012-01-19 at 21:57 +0100, M. Cs. wrote: > querry = "SELECT * FROM MP3;" > tablak = DBconX.Exec(querry) > DBconX.Begin() > For Each tablak > a1 = Trans(tablak!file) > a2 = Trans(tablak!path) > a3 = Trans(tablak!Volume) > a4 = Trans(tablak!title) > a5 = Trans(tablak!artist) > a6

[Gambas-user] Help! I can't find the error

2012-01-19 Thread M. Cs.
querry = "SELECT * FROM MP3;" tablak = DBconX.Exec(querry) DBconX.Begin() For Each tablak a1 = Trans(tablak!file) a2 = Trans(tablak!path) a3 = Trans(tablak!Volume) a4 = Trans(tablak!title) a5 = Trans(tablak!artist) a6 = Trans(tablak!album) a7 = Trans(tablak!genre) a8 = Trans(tablak!

Re: [Gambas-user] How to delete copy of class/object

2012-01-19 Thread Ron
yes looks like i need that, will try, thanks alot! Ron Op 19 jan. 2012 17:29 schreef "Jussi Lahtinen" het volgende: > Maybe I don't understand the question, but why not just like this: > > Do > >ProcessIt(oMyMsg[0]) > >oMyMsgs.Remove(0) > > Loop Until oMyMsg.Count = 0 > > > Jussi > > > >

Re: [Gambas-user] How to delete copy of class/object

2012-01-19 Thread Jussi Lahtinen
Maybe I don't understand the question, but why not just like this: Do ProcessIt(oMyMsg[0]) oMyMsgs.Remove(0) Loop Until oMyMsg.Count = 0 Jussi On Thu, Jan 19, 2012 at 15:23, Ron wrote: > Hi community, > > Let say I have a class called CMyMsg like this: > > ' Gambas class fi

Re: [Gambas-user] ValueBox value validation

2012-01-19 Thread Caveat
Oh, looks like you're right (I have Gambas3, rev 4409). I just added a ValueBox to an existing Form and put in the following code: Public Sub ValueBox1_LostFocus() Print "ValueBox: Oh no, I lost my focus! I'm sure it's around here somewhere..." End Public Sub cbxLockingSystem_LostFocus()

[Gambas-user] ValueBox value validation

2012-01-19 Thread John Rose
I have a problem with validating a user-entered value in a ValueBox. I've tried LostFocus & Leave and neither seems to do the validation i.e. no message box appears for incorrect values. So I thought that I would try Change, even though the documentation says that it is raised on each character typ

Re: [Gambas-user] Database question

2012-01-19 Thread M. Cs.
Thanks Caveat! This little helped to me! A good example is worthy a thousand words! Csaba 2012/1/19, Caveat : > As Benoit says... > >> SQL quoting is automatically done by the following methods of the >> Connection class: Exec(), Find(), Edit(), Delete(), Subst(), provided >> that: > >> - You use

Re: [Gambas-user] Database question

2012-01-19 Thread Caveat
As Benoit says... > SQL quoting is automatically done by the following methods of the > Connection class: Exec(), Find(), Edit(), Delete(), Subst(), provided > that: > - You use "&1", "&2"... inside the request string to tell where > quoted arguments must be inserted. > - You actually pass thes

[Gambas-user] How to delete copy of class/object

2012-01-19 Thread Ron
Hi community, Let say I have a class called CMyMsg like this: ' Gambas class file PUBLIC Length AS Integer' packet length PUBLIC Prio AS Integer ' 0 = normal, 1 = system PUBLIC Node AS Integer' node id PUBLIC Key AS String PUBLIC Packet AS NEW Byte[] ' data to send PUBLIC AwaitAck A

Re: [Gambas-user] Database question

2012-01-19 Thread M. Cs.
Some more clarification of my problem: I had two procedures to communicate with the sqlite database: Public Sub Trans(be As String) As String Dim atmen As String atmen = Replace$(be, "$", ".") atmen = Replace$(atmen, "€", "-") atmen = Replace$(atmen, "_", " ") atmen = Replace$(atmen, "£", "/") atm

Re: [Gambas-user] Database question

2012-01-19 Thread M. Cs.
I'm sorry Benoit, I would like to ask your help with this kind of insertions: If I have a table called MyTable with creation: CREATE TABLE CENTRAL(VName Text,FPath TEXT,FName TEXT,FSubs INTEGER,FSize REAL,FChanged TEXT); How could I ensure the failsafe insert query with following fields: VName->

[Gambas-user] Issue 197 in gambas: Example of aplet for Lubuntu

2012-01-19 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 197 by abbat...@gmail.com: Example of aplet for Lubuntu http://code.google.com/p/gambas/issues/detail?id=197 1) Need an example of applet like current time is for Lubuntu.