[Gambas-user] search over the gridview and not to the database and refill grid its possible?

2017-06-17 Thread PICCORO McKAY Lenz
as subject said: search over the gridview event to the database and refill grid its possible? i have a gridview object filled with data from the db, note: column names are autodetected. its there any way to search over gridview data and filter the results in gridview or there-s some object with t

[Gambas-user] [Gambas Bug Tracker] Bug #1113: ODBC driver problem: driver connects but does not exec query

2017-06-17 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113&from=L21haW4- Comment #10 by PICCORO LENZ MCKAY: ok, i understand sorry for the noise, its just that i tested many odbc module drivers and tested that.. in other words, i tested the condition with sqlite and i confirmed does not work.. -

[Gambas-user] [Gambas Bug Tracker] Bug #1113: ODBC driver problem: driver connects but does not exec query

2017-06-17 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113&from=L21haW4- Comment #9 by zxMarce: Piccoro, As I already told you more than once, ODBC will return the row count thanks to the patch I already made given a couple of conditions that depend on the low-level driver being correctly configure

Re: [Gambas-user] Help needed from regexp gurus

2017-06-17 Thread Jussi Lahtinen
Oh, sorry... this way of course: Dim sStr As String = "abc. def!!! ghi? jkl: (mno)" Dim sWords As String[] sWords = Split(sStr, " .!?:()", "", True) ''Expand as you will. For ii = 0 To sWords.Max Print sWords[ii] Next Jussi On Sun, Jun 18, 2017 at 6:29 AM, Jussi Lahtinen

[Gambas-user] reparent menu item

2017-06-17 Thread Leon Davis
Using Gambas v3.9.2 and GTK+3 Is there a safe way to reparent a menu item during runtime? Any help would be greatly appreciated. Leon -- Check out the vibrant tech community on one of the world's most engaging tech sites,

[Gambas-user] [Gambas Bug Tracker] Bug #1113: ODBC driver problem: driver connects but does not exec query

2017-06-17 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113&from=L21haW4- Comment #8 by PICCORO LENZ MCKAY: hi, zxMarce, thanks for take a shot.. i hope u can doit more due i now very busy.. i was thinking.. why odbc to sqlite if there's native sqlite.. well the problem its that must be a standar... o

[Gambas-user] [Gambas Bug Tracker] Bug #1113: ODBC driver problem: driver connects but does not exec query

2017-06-17 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113&from=L21haW4- Comment #7 by zxMarce: Piccoro, Got more details. This problem would occur with any statement/query that does not return data. For example a CREATE TABLE, DROP TABLE, etc. kind of query. This occurs when the ODBC SQLExecDirect

[Gambas-user] [Gambas Bug Tracker] Bug #1113: ODBC driver problem: driver connects but does not exec query

2017-06-17 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113&from=L21haW4- Comment #6 by zxMarce: Piccoro, Found out the statement IS executed, this is, in this case the table IS created if it did not exist. You may want to change the bug title, which is misleading. Anyway, for some reason not yet fu

[Gambas-user] [Gambas Bug Tracker] Bug #1113: ODBC driver problem: driver connects but does not exec query

2017-06-17 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113&from=L21haW4- Comment #5 by zxMarce: Piccoro, Just installed SQLite3 on my home laptop. After some twiddling I got the right connection string and the test program I once sent you connected OK. You're correct that there's something wrong whe

Re: [Gambas-user] Help needed from regexp gurus

2017-06-17 Thread Jussi Lahtinen
I think I would do something like: Dim ii As Integer Dim sStr As String = "abc defg hijkl" Dim sWords As String[] sWords = Split(sStr, " ") For ii = 0 To 2 Print sWords[ii] Next Jussi On Sun, Jun 18, 2017 at 2:57 AM, Fernando Cabral < fernandojosecab...@gmail.com> wrote: > T

Re: [Gambas-user] Help needed from regexp gurus

2017-06-17 Thread Fernando Cabral
Tobi One more thing about the way I wish it could work (I remember having done this in C perhaps 30 years ago). The pseudo-code bellow is pretty schematic, but I think it will clarify the issue. Let p and l be arrays of integers and s be the string "abc defg hijkl" So, after traversing the strin

Re: [Gambas-user] Help needed from regexp gurus

2017-06-17 Thread Fernando Cabral
Thank you, Tobi, for taking the time to comment on my issues. I will ponder the following. 2017-06-17 18:06 GMT-03:00 Tobias Boege : > On Sat, 17 Jun 2017, Fernando Cabral wrote: > >> Still beating my head against the wall due to my lack of knowledge about > >> the PCRE methods and properties...

Re: [Gambas-user] Help needed from regexp gurus

2017-06-17 Thread Tobias Boege
On Sat, 17 Jun 2017, Fernando Cabral wrote: > Still beating my head against the wall due to my lack of knowledge about > the PCRE methods and properties... Because of this, I have progressed not > only very slowly but also -- I fell -- in a very inelegant way. So perhaps > you guys who are more acq

Re: [Gambas-user] DesktopWindow.Name; Unexpected result

2017-06-17 Thread Gianluigi
Hi Tobias, I have Ubuntu with Unity but I trust in yours words :-) Regards Gianluigi 2017-06-17 14:50 GMT+02:00 Tobias Boege : > On Sat, 17 Jun 2017, Gianluigi wrote: > > 2017-06-17 13:51 GMT+02:00 adamn...@gmail.com : > > > > > > > > Ah! Now I see where your confusion lies... > > > 1) DesktopW

[Gambas-user] Help needed from regexp gurus

2017-06-17 Thread Fernando Cabral
Still beating my head against the wall due to my lack of knowledge about the PCRE methods and properties... Because of this, I have progressed not only very slowly but also -- I fell -- in a very inelegant way. So perhaps you guys who are more acquainted with PCRE might be able to hint me on a bett

Re: [Gambas-user] DesktopWindow.Name; Unexpected result

2017-06-17 Thread Tobias Boege
On Sat, 17 Jun 2017, Gianluigi wrote: > 2017-06-17 13:51 GMT+02:00 adamn...@gmail.com : > > > > > Ah! Now I see where your confusion lies... > > 1) DesktopWindow.Name : "i.e. its title as specified by the application > > that owns this window." > > 2) DesktopWindow.VisibleName : " i.e. the window

Re: [Gambas-user] DesktopWindow.Name; Unexpected result

2017-06-17 Thread Gianluigi
2017-06-17 13:51 GMT+02:00 adamn...@gmail.com : > > Ah! Now I see where your confusion lies... > 1) DesktopWindow.Name : "i.e. its title as specified by the application > that owns this window." > 2) DesktopWindow.VisibleName : " i.e. the window title as displayed by the > window manager." > > The

Re: [Gambas-user] DesktopWindow.Name; Unexpected result

2017-06-17 Thread adamn...@gmail.com
On Sat, 17 Jun 2017 12:19:53 +0200 Gianluigi wrote: > Sorry but I do not understand the difference; > From Gambas documentation on DesktopWindow.VisibleName (gb.desktop): > Returns the window visible name, i.e. the window title as displayed by the > window manager. > The visible name may be diffe

Re: [Gambas-user] DesktopWindow.Name; Unexpected result

2017-06-17 Thread Gianluigi
Sorry but I do not understand the difference; >From Gambas documentation on DesktopWindow.VisibleName (gb.desktop): Returns the window visible name, i.e. the window title as displayed by the window manager. The visible name may be different from the name, when two or more windows have the same name

Re: [Gambas-user] sqlite3 component can't seem to handle very large numbers

2017-06-17 Thread Herman Borsje
Thanks BenoƮt and Tobias! Problem solved by changing the data-type of the fields in Sqlite from INTEGER to BIGINT like so: - select * from {table} into {temptable} - create {newtable} (with BIGINT fields) - insert into {newtable} select * from {temptable} - drop {temptable} Regards, Herman O