Re: [Gambas-user] CDocumentation.ImplementAndNeed.1138 (solved)

2016-06-26 Thread Lewis Balentine
Got round the problem by going into preferences and turning offline help on. On 06/26/2016 12:57 AM, Lewis Balentine wrote: > http://blog.linuxmint.com/?p=3038#comment-130897 > Several errors with Gambas3 version 3.8.4 as installed by Linux Mint 18 > Beta Synaptics Package Manager. >

Re: [Gambas-user] CDocumentation.ImplementAndNeed.1138

2016-06-25 Thread Lewis Balentine
that was reported back in April: http://comments.gmane.org/gmane.comp.lang.gambas.user/36870 On 06/26/2016 12:01 AM, Lewis Balentine wrote: > I am testing Linux Mint 18 Beta. > It comes with Gambas version of 3.8.4 > I tried to run my KWPVR program project (which I admit is somewhat > dat

[Gambas-user] CDocumentation.ImplementAndNeed.1138

2016-06-25 Thread Lewis Balentine
I am testing Linux Mint 18 Beta. It comes with Gambas version of 3.8.4 I tried to run my KWPVR program project (which I admit is somewhat dated). I got a strange error in the IDE: "CDocumentation.ImplementAndNeed.1138" At this point I am only trying to determine if this is a Mint 18 or Gambas

Re: [Gambas-user] Clean new console by code

2016-06-24 Thread Lewis Balentine
Desktop.SendKeys("clear/n") On 06/24/2016 02:30 PM, Gianluigi wrote: > How can I clean console by code in rev. 7804? > Print Chr$(12); - Write Chr(12) - Desktop.SendKeys("{[Control_L]l}") do not > work. > > Regards > Gianluigi >

Re: [Gambas-user] Feature removal suggestion: Pressing Escape hides debug pane

2015-09-19 Thread Lewis Balentine
"... perhaps the mouse alone to show/hide or otherwise manipulate it." There should always exist an alternate way to gracefully exit a dialog box lest the farmer's wife is hanging about with her carving knife. On 09/19/2015 05:48 AM, Patrik Karlsson wrote: > 2015-09-19 7:16 GMT+02:00 Kevin

Re: [Gambas-user] [Gambas Bug Tracker] Bug #711: Remember cursor position when double clicking a file in the project tree

2015-09-06 Thread Lewis Balentine
How do you opt out of the Gambas Bug Tracker ? On 09/06/2015 07:15 AM, bugtrac...@gambaswiki.org wrote: > Comment #2 by Moviga TECHNOLOGIES: > > Yes, you are right. I did not notice. Still, it is quite annoying :) > > > >

Re: [Gambas-user] New wiki stylesheet

2015-07-30 Thread Lewis Balentine
The font may be one of those things that falls under, If it ain't broke On 07/30/2015 09:34 AM, Benoît Minisini wrote: Le 30/07/2015 15:30, Benoît Minisini a écrit : Le 30/07/2015 15:14, Jussi Lahtinen a écrit : I think the font is bit too thin to be pleasant to read. I miss the search

Re: [Gambas-user] New system tray icon protocol support, new episode.

2015-07-04 Thread Lewis Balentine
Perseverance has its rewards. On 07/04/2015 07:32 AM, Benoît Minisini wrote: 'appindicator', 'statusnotifier' and 'dbusmenu' are really three pieces of badly designed almost undocumented shit that required me one week of reverse engineering! But now it works more or less, so I'm happy. :-)

Re: [Gambas-user] Gambas migration to github (or something else?)

2015-06-08 Thread Lewis Balentine
For those on this mailing list that may be as naive in this area as myself ... (i.e. not the *'Greater Nanticoke Area School District' **or *'Georgia Nurses Association' {BING}) http://gna.org/ This site is a central point for development, distribution and maintenance of Libre Software (Free

Re: [Gambas-user] Gambas, Rpi and Signals (Mike Crean)

2015-06-04 Thread Lewis Balentine
why not using normal routers? of cell phone signals? inclusivelly why not only radio signals!? I suspect money may have something to do with it. Each cell phone would require monthly subscription cost. Lewis --

Re: [Gambas-user] TextArea and the NUL byte

2015-05-07 Thread Lewis Balentine
consistency is next to godliness On 05/07/2015 12:38 PM, Tobias Boege wrote: This is not consistent. Regards, Tobi -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest

Re: [Gambas-user] How to get back my Gbr3 3.5.4 after updated

2015-04-01 Thread Lewis Balentine
. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user Have you installed the Trunk librarys plus llvm-3.4-dev? Take a look here (my answer to Lewis

Re: [Gambas-user] Issue 612 in gambas: BUG Cannot browse more of 128 records on tables No current connection

2015-03-28 Thread Lewis Balentine
Minisini a écrit : Le 28/03/2015 18:58, Lewis Balentine a écrit : I have over three decades of dealing with SQL and I can still not understand how this myth got propagated. There is NO valid SQL reason why a table should be required to have a unique primary key or any predefined key

Re: [Gambas-user] Issue 612 in gambas: BUG Cannot browse more of 128 records on tables No current connection

2015-03-28 Thread Lewis Balentine
I over reacted to begin with. Thus I will not continue to further beat this dead horse. :-) Lewis On 03/28/2015 02:27 PM, Benoît Minisini wrote: Le 28/03/2015 20:22, Lewis Balentine a écrit : It is just I have heard too many times that SQL tables must have primary keys ... and it just

Re: [Gambas-user] Pre-release of Gambas 3.7.1

2015-03-28 Thread Lewis Balentine
Linux Mint 17.0 (fresh, updated image with required libraries) automake (GNU automake) 1.14.1 autoconf (GNU Autoconf) 2.69 libtool (GNU libtool) 2.4.2 gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2 g++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2 Builds, executes and installs normally without modification.

Re: [Gambas-user] Issue 612 in gambas: BUG Cannot browse more of 128 records on tables No current connection

2015-03-28 Thread Lewis Balentine
I have over three decades of dealing with SQL and I can still not understand how this myth got propagated. There is NO valid SQL reason why a table should be required to have a unique primary key or any predefined key for that matter. One can always use the row number (record number) if such a

Re: [Gambas-user] Issue 612 in gambas: BUG Cannot browse more of 128 records on tables No current connection

2015-03-28 Thread Lewis Balentine
the SQL code to get around it I will continue searching :'( Lewis On 03/28/2015 01:09 PM, Benoît Minisini wrote: Le 28/03/2015 18:58, Lewis Balentine a écrit : I have over three decades of dealing with SQL and I can still not understand how this myth got propagated. There is NO valid SQL

Re: [Gambas-user] Strange problem with windows/postgresql/form.db

2015-03-27 Thread Lewis Balentine
When you have time can you post exactly what you did to compile in the windows/cygwin environment ? Such things as 32 or 64 bit? What did you do for all the external libraries ? Are there any errors in the make/compile/install logs ? Very Best Regards, Lewis On 03/27/2015 06:41 AM, nero

Re: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm

2015-03-25 Thread Lewis Balentine
did you do that? We are both going to die now. The scorpion response, I am a scorpion. It is what I do. I seriously doubt that there is any country in the world with a functioning government that does not have spies in their employ. regards, Lewis Balentine Houston, Texas, USA

Re: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm

2015-03-24 Thread Lewis Balentine
Perhaps an alternative suggestion (compromise): An application written in Gambas to manage Gambas project/example files. I am thinking something with two windows: Source and Target The app would dynamically build the path to the hiddden source directories. The user could pick the target

Re: [Gambas-user] gambas wiki down

2015-03-21 Thread Lewis Balentine
Affirmative: Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. On 03/21/2015 11:27 AM, Fabien Bodard wrote: Gambas wiki is down ?

Re: [Gambas-user] gambas wiki down

2015-03-21 Thread Lewis Balentine
It may have felt ignored and wanted some attention :-) On 03/21/2015 08:30 PM, Benoît Minisini wrote: For an unknown reason, the web server has been stopped (it didn't crash). It is back now. Regards, -- Dive into

Re: [Gambas-user] Possible error PPA 3.7 Stable

2015-03-19 Thread Lewis Balentine
FYI: Sill labeled Gambas compression component in package manager. On 03/19/2015 12:07 PM, Sebastian Kulesz wrote: You should be able to update now. Be aware that you will probably have to follow what Tobias said to clean the old bytecode files compiled with the higher version number. Please

Re: [Gambas-user] Possible error PPA 3.7 Stable

2015-03-19 Thread Lewis Balentine
You may be under the mistaken impression that I have only one copy of Gambas :) My main workstation gets its Gambas from the PPA. Cheers, Lewis P.S. The compiled version is on a machine that is used only for learning how to compile and build the Gambas deb without errors and I am

Re: [Gambas-user] Possible error PPA 3.7 Stable

2015-03-19 Thread Lewis Balentine
PM, Lewis Balentine le...@keywild.com wrote: FYI: Sill labeled Gambas compression component in package manager. On 03/19/2015 12:07 PM, Sebastian Kulesz wrote: You should be able to update now. Be aware that you will probably have to follow what Tobias said to clean the old bytecode files

Re: [Gambas-user] Possible error PPA 3.7 Stable

2015-03-19 Thread Lewis Balentine
package name, PPA and version you are talking about? On Mar 19, 2015 2:38 PM, Lewis Balentine le...@keywild.com wrote: FYI: Sill labeled Gambas compression component in package manager. On 03/19/2015 12:07 PM, Sebastian Kulesz wrote: You should be able to update now. Be aware that you

Re: [Gambas-user] Possible error PPA 3.7 Stable

2015-03-18 Thread Lewis Balentine
In 'update manager' is listed as: gambas3 Gambas compression component 3.7.0-24.30~ubuntu14.01 (I assume this is related to the same issue , but I could be wrong). Lewis On 03/18/2015 07:38 AM, Gian wrote: Upon notification by a user of Gambas-it I tried to install the PPA stable. Seems

Re: [Gambas-user] URGENT request to people of Gambas stable PPA

2015-03-17 Thread Lewis Balentine
Congratulations Willy :-) On 03/17/2015 11:19 AM, Willy Raets wrote: I managed to get my own local repository running with the Gambas 3.6.2 from your PPA. I also managed to install from there (just needed to neglect the key warnings).

Re: [Gambas-user] URGENT request to people of Gambas stable PPA

2015-03-16 Thread Lewis Balentine
Have you considered setting up a local PPA. In that way you might also control 'what else' gets updated. http://inodes.org/2009/09/14/building-a-private-ppa-on-ubuntu/ Cheers, Lewis On 03/16/2015 09:15 AM, Willy Raets wrote: Hi, First, thank you for all the good and hard work getting Gambas

Re: [Gambas-user] URGENT request to people of Gambas stable PPA

2015-03-16 Thread Lewis Balentine
Another alternative: You might use 'apt-get' and 'apt-cache' (on a clean machine) to: 1) download Gambas 3.6.2 from the current PPA 2) build list of dependences 3) download all dependences Then copy all the debs to an appropriate portable device (USB Drive) Then write script to: 1) Install

Re: [Gambas-user] Interaction With Command Shell

2015-03-16 Thread Lewis Balentine
Handling unexpected error messages, which might appear in a terminal window That of course assumes that there is a terminal windows open to receive the error messages. :-) Lewis On 03/16/2015 04:39 PM, Nigel Verity wrote: Hi Benoit I suspect there could be good security reasons why the

Re: [Gambas-user] Release of Gambas 3.7, error in build

2015-03-14 Thread Lewis Balentine
**: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed Last and most importantly: Thank you very much Bennoit for Gambas, your time, your dedication and most all your continuing support. Regards, Lewis Balentine On 03/14/2015 02:20 PM, Gian wrote: Hi Lewis, for Ubuntu 14.04.02 LTS. Library

Re: [Gambas-user] Release of Gambas 3.7, error in build

2015-03-14 Thread Lewis Balentine
libdumb.so.1 No idea what that is... Well I found two possibilities: libdumb1-dev: libdumb1 (dynamic universal music bibliotheque) libdumbnet-dev: libdumbnet1 (libdumbnet is known as libdnet in other distributions) As OpenAL (Open Audio Library) is a cross-platform audio API I decide

Re: [Gambas-user] Release of Gambas 3.7, error in build

2015-03-14 Thread Lewis Balentine
macro: AC_LIBLTDL_CONVENIENCE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /usr/bin/autoconf failed with exit status: 1 lewis@HP8460 //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 $ regards, Lewis Balentine

Re: [Gambas-user] Release of Gambas 3.7, error in build

2015-03-14 Thread Lewis Balentine
. Regards, Lewis On 03/14/2015 08:22 AM, Benoît Minisini wrote: Le 14/03/2015 14:15, Benoît Minisini a écrit : Le 14/03/2015 13:39, Lewis Balentine a écrit : Environment: Linux Mint 17 X64, Mate Desktop 1.8 lewis@HP8460 ~ $ cd //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 lewis

Re: [Gambas-user] Release of Gambas 3.7, error in build

2015-03-14 Thread Lewis Balentine
Regarding Linux Mint 17.1 (a.k.a. Rebecca): Becky had some teething problems and added a bunch off fancy user interface graphics that I did not need or want. Thus I decided to stick with 17.0 (updated of course --- so I may have all that stuff I did not want). Strange, as I

Re: [Gambas-user] Top posting

2015-03-10 Thread Lewis Balentine
Email's still in the frakking DARPANET ages. I tend to agree with you. However getting the entire world's electronic population to change would a daunting challenge. Perhaps if one was very dedicated, aggressive with unlimited resources it could be accomplished after a suitable period of

Re: [Gambas-user] A couple of questions about building web / cgi applications

2015-02-13 Thread Lewis Balentine
Forgive me for poking my nose in where my profound ignorance indicates I should not but Would not a direct solution be: 1) Have the resident program ALLOC a section of ram 2) Save the address as part of a unique file name (i.e. ADRxx.ADR where x is the address) 3) Pass the required

Re: [Gambas-user] Feature Request

2015-02-07 Thread Lewis Balentine
The context sensitive on-line help system uses the Wiki. That implies the existence of some sort of search capability. It would be very helpful if that were exposed on the web pages ... but perhaps it is based on the various index pages. On 02/07/2015 05:33 AM, Ian wrote: IIF - I should have

Re: [Gambas-user] gb.quote issue with sqlite

2015-02-03 Thread Lewis Balentine
AMEN to that ! On 02/03/2015 01:57 PM, Benoît Minisini wrote: It's hard to know what is *really* standard in SQL and what is not... -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by

Re: [Gambas-user] Rpi

2015-02-03 Thread Lewis Balentine
Are you sure it's an advantage to install windows 10? on anything ??? -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is

Re: [Gambas-user] Problem with UCase$ ?

2015-01-28 Thread Lewis Balentine
é is not an ASCII character. Reference: http://gambaswiki.org/wiki/lang/ucase This function does not work with UTF-8 strings. UseString.UCase http://gambaswiki.org/wiki/comp/gb/string/ucaseinstead. Word = perché Print Word, UCase(Word), String.UCase(Word) Word = UCase(Word) Print Word

Re: [Gambas-user] Problem with UCase$ ?

2015-01-28 Thread Lewis Balentine
For a real challenge try 5 bit Baudot :-) -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel

[Gambas-user] Data Base Example

2015-01-26 Thread Lewis Balentine
a problem with my credentials. Comments or suggestions for improvement are welcomed. Regards, Lewis Balentine P.S. Many thanks to Lee Davidson for help in working out the cancel process. DataBaseExample-0.0.1.tar.gz Description: application/gzip

Re: [Gambas-user] Data Base Example

2015-01-26 Thread Lewis Balentine
The source of the problem is more likely my incompetence than the software. On 01/26/2015 09:04 AM, Benoît Minisini wrote: I'm currently creating a VirtualBox VM with Mint inside it to understand how gnome-keyring works on Mint...

Re: [Gambas-user] Data Base Example

2015-01-26 Thread Lewis Balentine
... but it seems to have gotten published anyway. :-) The screenshot is 3X larger than the rest of project ... Cheers, Lewis On 01/26/2015 09:04 AM, Benoît Minisini wrote: Le 26/01/2015 15:28, Lewis Balentine a écrit : Following a thread from last week regarding refreshing DataControl I have developed

[Gambas-user] Software Farm, Unable to get password.

2015-01-25 Thread Lewis Balentine
Mint 17 with Mate desktop environment. Regards, Lewis Balentine [System] Gambas=3.6.90 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=MATE Theme=QGtk Language=en_US.UTF-8 Memory=3944M [Libraries] Cairo=libcairo.so.2.11301.0 Curl

Re: [Gambas-user] Software Farm, Unable to get password.

2015-01-25 Thread Lewis Balentine
, Gambas would/could have difficulty connecting with it. Lee __ Artificial Intelligence is no match for natural stupidity. On 01/26/2015 01:29 AM, Lewis Balentine wrote: This application has raised an unexpected error and must abbort. Unable to get password. _Desktop_passwords

Re: [Gambas-user] DataControl_Leave, Tab key causes Gtk - CRITICAL Error

2015-01-22 Thread Lewis Balentine
'Plastique' as well. This was the same results as 'Windows'. I think I have gone through most of the possible combinations ... :-) What does work as expected is: QT Style = 'Windows' or 'Plastique' with gb.qt Regards, Lewis On 01/22/2015 03:03 PM, Benoît Minisini wrote: Le 22/01/2015 21:47, Lewis

Re: [Gambas-user] DataControl_Leave, Tab key causes Gtk - CRITICAL Error

2015-01-22 Thread Lewis Balentine
Note the project is a QT graphical project as opposed to a GTK graphical project (if it makes any difference). As for GTK+ theme how would I know ? I am using Linux Mint 17 with the Mate Desktop environment. There are no preferences that refer to 'GTK theme' but my 'appearance'

Re: [Gambas-user] DataControl_Leave, Tab key causes Gtk - CRITICAL Error

2015-01-22 Thread Lewis Balentine
I changed the 'QT GUI style' to Windows. The problem went away. So the problem is probably in the 'GTK+' style which I believe is the default for Mate. I will post this thread to the Mint forumns and see if there is any response there. Cheers, Lewis On 01/22/2015 02:30 PM, Lewis Balentine

[Gambas-user] DataControl_Leave, Tab key causes Gtk - CRITICAL Error

2015-01-21 Thread Lewis Balentine
- CRITICAL * *: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed ' DataControl3 field Type is Date, Next Tab-Stop is DataControl4 (Boolean) ' ** ... End Regards, Lewis Balentine

Re: [Gambas-user] Use of db.Begin, db.Commit and db.Rollback with a

2015-01-21 Thread Lewis Balentine
Yep that seems to work. I did try that previously (I think) but it seems somewhere along the line I corrupted my database. I started over from scratch ... :-( Overall it has been a very enlightening exercise. Now what was I doing before I started this ? Lewis On 01/20/2015 05:17 PM, T

[Gambas-user] gambas-daily,Failed to fetch, 404 error

2015-01-21 Thread Lewis Balentine
Is it just me or does anyone else get these errors ??? ' W: Failed to fetch http://ppa.launchpad.net/gambas-team/gambas-daily/ubuntu/pool/main/g/gambas3/gambas3-gb-desktop-gnome-keyring_3.6.99+svn6839+build22~ubuntu14.04.1_amd64.deb 404 Not Found W: Failed

Re: [Gambas-user] IDE crash and other Issues (gb.settings and icon stock)

2015-01-21 Thread Lewis Balentine
I believe that you need to define the connection host (path to Sqlite DB file). hconn.host = Application.Path Otherwise I get the same results. Lewis -- New Year. New Location. New Benefits. New Data Center in

Re: [Gambas-user] IDE crash and other Issues (gb.settings and icon stock)

2015-01-21 Thread Lewis Balentine
A valid point ... On 01/21/2015 12:41 PM, Jorge Carrión wrote: It's true... but IDE should not crash... I think. Regards -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering

Re: [Gambas-user] Use of db.Begin, db.Commit and db.Rollback with a datasource and datacontrols

2015-01-20 Thread Lewis Balentine
via software or manually) does not set 'DataSource.Modified' or DataControl.Modified' properties to true. The operation was the same in version 3.6.2 and 3.6.9. Then again maybe I am doing something(s) wrong :-\ Regards, Lewis Balentine On 01/19/2015 07:42 PM, T Lee Davidson wrote: Hello

Re: [Gambas-user] Use of db.Begin, db.Commit and db.Rollback with a datasource and datacontrols

2015-01-20 Thread Lewis Balentine
__ Artificial Intelligence is no match for natural stupidity. On 01/20/2015 01:03 PM, Lewis Balentine wrote: Mr. Speaker, I request permission to revise and extend my previous remarks ... Please see the attached sample application and data base. I used a SQlite Database

Re: [Gambas-user] Use of db.Begin, db.Commit and db.Rollback with a datasource and datacontrols

2015-01-19 Thread Lewis Balentine
use the .Refresh method That assumes that one is using data linked controls. That is not always the case: examples: a date record is displayed/edited as two separate text boxes (i.e. date and time) a person's name is stored in the fields: given_name, initial, family_name

[Gambas-user] need NOWAIT option for Process=Exec Command

2015-01-17 Thread Lewis Balentine
for the Command to complete (which might be a couple of hours). Now I am hung up. Is there another way to get the process id? cheers, Lewis Balentine -- New Year. New Location. New Benefits. New Data Center in Ashburn

Re: [Gambas-user] need NOWAIT option for Process=Exec Command

2015-01-17 Thread Lewis Balentine
I inserted the following line before my Exec statement: Debug Format(Now, hh:mm:ss) MyProcess = Exec [sleep, 10] Debug Format(Now, hh:mm:ss) Debug PID: Trim(Str(MyProcess.Handle)) It worked as you said pvr.StartProcess.99: 14:01:57

Re: [Gambas-user] need NOWAIT option for Process=Exec Command

2015-01-17 Thread Lewis Balentine
You were correct (as usual). :-) There was an difference in the dynamically generated ffmpeg command arrays that I was using. The application is now functional so I can start working on the fine tunning and polish. Thank you for your help. Lewis On 01/17/2015 01:36 PM, Tobias Boege wrote:

Re: [Gambas-user] Ping

2015-01-15 Thread Lewis Balentine
Pong ? On 01/15/2015 03:25 AM, Fabien Bodard wrote: Ping ? -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from

Re: [Gambas-user] QT Frame, no border

2015-01-13 Thread Lewis Balentine
Thank you ... but just in case someone else find this in a search: I believe that you intended: qtconfig-qt4 (an application that must be installed on the current system) GTK+ seems to be the only one where the frame border does not show up. On 01/13/2015 02:10 AM, Jack wrote: You must set

[Gambas-user] QT Frame, no border

2015-01-13 Thread Lewis Balentine
Frame (gb.qt4) This control is a container with an *etched border* and a label. The actual appearance of the frame depends on the underlying widget theme. Some of them do not even draw any frame at all! I am getting no border. I see no obvious way to get to the 'underlying widget theme'. So

Re: [Gambas-user] For Each ?WHAT? in Result

2015-01-10 Thread Lewis Balentine
/wiki/lang/foreach And then didn't look at the second example... :-P Kind regards, Caveat On 10/01/15 09:52, Lewis Balentine wrote: Result (gb.db) This class represents the result of a SQL request. This class is not creatable. This class acts like a read / write array. This class

[Gambas-user] For Each ?WHAT? in Result

2015-01-10 Thread Lewis Balentine
Result (gb.db) This class represents the result of a SQL request. This class is not creatable. This class acts like a read / write array. This class is *enumerable* with the FOR EACH keyword. Guess this should be obvious but not to me pray tell what type/class does one use to enumerate it

Re: [Gambas-user] For Each ?WHAT? in Result

2015-01-10 Thread Lewis Balentine
I does work as expected with the order by clause. On 01/10/2015 06:16 AM, Caveat wrote: But the documentation arrived at by following the enumerable link doesn't give a fully working code example, and also doesn't document whether the order of the enumeration is predictable, which we'd better

Re: [Gambas-user] Column Alignment Property

2015-01-10 Thread Lewis Balentine
-tuning the Data-Manager for version 3 or 4. Best Regards, Lewis Balentine On 01/10/2015 08:28 AM, Benoît Minisini wrote: You have three patterns in Gambas to solve your problem (extending the behaviour of a control): the Observer class, the Object.Attach() method, and inheritance. If you

Re: [Gambas-user] Column Alignment Property

2015-01-10 Thread Lewis Balentine
My application is sort of a mini-datamanager where the end user determine which tables/fields they need/want to access. The application generates the datasources and dataviews at run time. Each table is displayed in its own tab of a Tabstrip /(small screen shot attached)/. There are two tables

Re: [Gambas-user] Column Alignment Property

2015-01-10 Thread Lewis Balentine
that capability has already implemented and I have missed reading the proper link again. :-) Cheers, Lewis On 01/09/2015 07:55 PM, Benoît Minisini wrote: Le 09/01/2015 11:11, Lewis Balentine a écrit : It appears to me that the Column Alignment Property does not work for some types. It's

[Gambas-user] Order By Clause

2015-01-10 Thread Lewis Balentine
resorting by a particular column but I would like to have control of initial order by a combination of columns (i.e order by StartDateTime, Channel, Status). Regards, Lewis Balentine -- Dive into the World of Parallel

Re: [Gambas-user] Column Alignment Property

2015-01-09 Thread Lewis Balentine
Thank you for the clarification. Maybe I should create a property that would tell DataView if it should override or not the alignment? That would be most helpful. :-) I wondered if there was such a property that I missed. regards, Lewis

Re: [Gambas-user] Does anyone have experience with gb.openGL and Not an object?

2015-01-09 Thread Lewis Balentine
but it comes to 57 megabytes. Do you want me to post it to the mailing list ? FYI: My previous experience is that the mailing list would reject it because of size. Lewis -- Dive into the World of Parallel

[Gambas-user] Column Alignment Property

2015-01-09 Thread Lewis Balentine
followed by: $ sudo apt-get autoremove followed by: reboot followed by: sudo apt-get install gambas3 It still reports version 3.6.90 although as I watched the install I clearly saw references to 3.6.99 (see below). ... and the results were the same for all three version tests. Regards, Lewis

Re: [Gambas-user] Column Alignment Property

2015-01-09 Thread Lewis Balentine
Thanks for the version explanation ... A lot of trouble, all for nothing... It happens sometimes. I just wanted to be certain I tried the latest version before I submitted the email... Cheers, Lewis -- Dive into the

Re: [Gambas-user] Array.Sort

2015-01-09 Thread Lewis Balentine
I did not expect this many comments. I believe that the KISS principle should apply to the Wiki particularly for the benefit of new users or those whose first language may not be English (my British friends tell me that English is not my first language). I removed references to procedure and

Re: [Gambas-user] Array.Sort

2015-01-08 Thread Lewis Balentine
On 01/08/2015 07:19 AM, Tobias Boege wrote: Array.Sort() is a *method* :-) The basic (pun intended) elements of all OOP languages are classes constructed of properties and methods. --- you got me on that one In GAMBAS there seem to be several class methods defined that sometimes require

Re: [Gambas-user] Array.Sort

2015-01-07 Thread Lewis Balentine
No ... I was not forgetting. I have not yet learned they are required ... ... but this old dog 'will' learn the new tricks. Thank thee again. Lewis On 01/07/2015 06:09 PM, T Lee Davidson wrote: Hi Lewis, You're forgetting, like I often do, the parentheses for the method [.Sort()].

Re: [Gambas-user] Array.Sort

2015-01-07 Thread Lewis Balentine
oops Last line should be: Print 'array.max'returns index of the last item in an array: XXX.max On 01/07/2015 11:59 PM, Lewis Balentine wrote: Print 'array.max'returns the number of items in an array: XXX.max Quit End

Re: [Gambas-user] Array.Sort

2015-01-07 Thread Lewis Balentine
Do I have it correct now ?? The program runs and operates as expected. My concern is more to the proper nomenclature than function. Regards, Lewis Balentine '--- --- (project archive attached to message) --- --- Private Function TestFunction() As String[] Return [abcdefghij, 1234567890

[Gambas-user] Array.Sort

2015-01-07 Thread Lewis Balentine
(s) where I would normally use an array. It appears to to me to operate more as a SUB than a FUNCTION in that it resorts the array but does not return something that I can use in another function or procedure. Is my interpretation of the prototype wrong-headed ? Regards, Lewis Balentine

Re: [Gambas-user] Connecting DataControl to DataSource

2015-01-05 Thread Lewis Balentine
handles substitutions or (more likely) I made a typo in duplicating the process. Thanks for you help LEE. Regards, Lewis On 01/05/2015 07:58 PM, T Lee Davidson wrote: On 01/05/2015 04:35 PM, Lewis Balentine wrote: I must be missing something very basic in the use of form database controls. I

[Gambas-user] Connecting DataControl to DataSource

2015-01-05 Thread Lewis Balentine
of a DataSource ? Is there a way to change the DataSource for a DataControl ? Regards, Lewis Balentine ' Public Sub Form_Open() Dim I As Integer ' This is A SIMPLE form: ' It has Two controls: ' gb.db.form: DataSource named

Re: [Gambas-user] Wiki Observation, SQL syntax

2015-01-02 Thread Lewis Balentine
--- perhaps by adding examples. Regards, Lewis Balentine -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things

Re: [Gambas-user] Wiki Observation, SQL syntax

2015-01-02 Thread Lewis Balentine
Thank you to both Benoit and Tobias for the explanations. I did figure it out but did not realize that a Result could be treated as an array. I tend to think of DB data as structures. ... but my real point was that when the syntax can be considered a bit unusual then the Wiki needs to document

[Gambas-user] IF Not (any boolean) then

2015-01-01 Thread Lewis Balentine
If I use NOT in an IF statement with any boolean (function or value) then I get an error. example: If NOT (BooleanFuntion) then Do this unknown identifier: NOT Am I mistaken in thinking that one should be able to use the NOT operator in this manner ? I can get around this by changing the

[Gambas-user] Wiki Observation, SQL syntax

2015-01-01 Thread Lewis Balentine
For some reason I do not seem to be able to log into the Gambas Wiki. That is probably a good thing considering my level of ignorance (which has proven to be immense). Thus I pass these observations along for consideration: I have dealt with various SQL Data Bases for some two decades

Re: [Gambas-user] IF Not (any boolean) then

2015-01-01 Thread Lewis Balentine
that the parameters of an operator(s) could ALWAYS be enclosed within Parenthesis as in: X = 1 + 1 X = (1) + (1) X = (1 + 1) * 1 Lewis Balentine -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored

Re: [Gambas-user] IF Not (any boolean) then

2015-01-01 Thread Lewis Balentine
: On Thu, 1 Jan 2015 23:13:20 +0100 Tobias Boege tabo...@gmail.com wrote: On Thu, 01 Jan 2015, Lewis Balentine wrote: If I use NOT in an IF statement with any boolean (function or value) then I get an error. example: If NOT (BooleanFuntion) then Do this unknown identifier: NOT Am I

Re: [Gambas-user] Problems on mail list

2014-12-29 Thread Lewis Balentine
Surely you want to enhance it before you print it ... On 12/29/2014 12:02 PM, Tobias Boege wrote: On Sun, 28 Dec 2014, B Bruen wrote: On Sat, 27 Dec 2014 18:37:05 +0100 Beno?t Minisini gam...@users.sourceforge.net wrote: Le 27/12/2014 13:44, Gian a ?crit : This morning I received the email

Re: [Gambas-user] Install from Ubuntu repo - several issues

2014-12-21 Thread Lewis Balentine
Thank you Willy. Those instructions helped me as well. Lewis On 12/12/2014 08:22 AM, Willy Raets wrote: On vr, 2014-12-12 at 05:54 -0800, LVDave wrote: Having used to use MSVisualBasic many moons ago, I wanted to see how close Gambas was to VB. Since I'm on Ubuntu 14.04, I installed Gambas

[Gambas-user] File Directory Functions: PWD, cd

2014-12-14 Thread Lewis Balentine
I can find out what the current directory is with: Print Application.Env[PWD] However there does not seem to be anything to change the present working directory within the File Directory Functions. I did try using the shell function. It did not seem to have the desired effect.

Re: [Gambas-user] File Directory Functions: PWD, cd

2014-12-14 Thread Lewis Balentine
spawns a new process (the shell) which changes its directory (using the cd built-in) to /another/directory and then dies. That is what I expected but I wanted to verify it to before I asked the question. If you want to change the CWD of your process nevertheless, I guess you can use

Re: [Gambas-user] File Directory Functions: PWD, cd

2014-12-14 Thread Lewis Balentine
Private WorkDir As String Public Sub Main() WorkDir = Application.Dir ' for development and change path to our sample directory ' comment out next line for actual runtime program WorkDir = /mnt/Data/videos ... End Thank you gentlemen

[Gambas-user] What is the Gambas equivalent of Inkey ?

2014-12-06 Thread Lewis Balentine
For a console application I want to issue a prompt: Press any key to continue ... or Press 'X' to exit or 'C' to continue: and then wait for the user to press a key. I can find no equivalent for the Basic inkey function. I have tried using wait/read but it seems one must press the enter key.

[Gambas-user] Try not catching XmlDocument Error

2014-12-05 Thread Lewis Balentine
(TitanFileName) If Error Then Print *** FATAL ERROR *** SUB ProcessOneTitanFile. Print *** FATAL ERROR *** trying to open XML file. Quit Endif ' other code follows End End Sample code:--- regards, Lewis Balentine [System] Gambas=3.6.2

[Gambas-user] gb.settings comments deleted

2014-12-05 Thread Lewis Balentine
When settings are written back to the .conf file all comments/remarks are stripped from the file. Should not the documentation include a warning to this effect? Better yet would be to keep those comments/remarks intact. example incoming: [slot] ; remark # remark ; comment Value0ne =1 ValueTwo =2

Re: [Gambas-user] gb.settings comments deleted

2014-12-05 Thread Lewis Balentine
mine) solved :-) regards, Lewis On 12/05/2014 08:36 AM, Benoît Minisini wrote: Le 05/12/2014 15:18, Tobias Boege a écrit : On Fri, 05 Dec 2014, Beno?t Minisini wrote: Le 05/12/2014 12:07, Lewis Balentine a ?crit : When settings are written back to the .conf file all comments/remarks

Re: [Gambas-user] Try not catching XmlDocument Error

2014-12-05 Thread Lewis Balentine
hours ago I have my first Gambas application running (if somewhat crudely). Lewis On 12/05/2014 09:21 PM, Adrien Prokopowicz wrote: Le Fri, 05 Dec 2014 11:43:04 +0100, Lewis Balentine le...@keywild.com a écrit: The problem is that the .xml file in question is malformed. It happens to have some

  1   2   >