Re: [Gambas-user] Valuebox_Enter strange behaviour

2014-11-01 Thread Alain Baudrez
oogle.com/+alainbaudrez> Webmaster cibliga.be - dierenartsrogiest.be Linux User: http://linuxmintusers.be 2014-11-01 12:18 GMT+01:00 Tobias Boege : > On Sat, 01 Nov 2014, Alain Baudrez wrote: > > I use a valuebox for numbers and want to select to existing content upon > > entering

[Gambas-user] Valuebox_Enter strange behaviour

2014-11-01 Thread Alain Baudrez
I use a valuebox for numbers and want to select to existing content upon entering the valuebox. I use the following code Public Sub vBoxQty_Enter() Desktop.SendKeys("{[Shift_L][End]}") End When entering the valuebox using the tab-key, the content is selected. When entering the valuebox with a

Re: [Gambas-user] Read only terminal in 3.6

2014-10-19 Thread Alain Baudrez
2014-10-19 16:37 GMT+02:00 Benoît Minisini : > > You now enter your expressions in the edit field just below the terminal. > > Never noticed it. It is so small :) OK. I can use that, but it is not an improvement I think. I noticed that scrolling back through the history in the textbox with a mou

[Gambas-user] Read only terminal in 3.6

2014-10-19 Thread Alain Baudrez
When debugging an application, I set a breakpoint at a certain line and then when the execution stops, I switch to the Terminal on the bottom of the IDE and use it to check on things in my program. That worked fine in the 3.5x series. Since I have the 3.6 installed, the terminal seems to be read-o

Re: [Gambas-user] Combobox behavior with long lists

2014-10-01 Thread Alain Baudrez
=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 2014-10-01 11:25 GMT+02:00 Jesus : > El 01/10/14 a las #4, Alain Baudrez escribió: > > I have quit using the combobox because its behavior with long lists > really > > pisses me off. When you click the dropdo

[Gambas-user] Combobox behavior with long lists

2014-09-30 Thread Alain Baudrez
I have quit using the combobox because its behavior with long lists really pisses me off. When you click the dropdown arrow a list of items fills the screen from top to bottom, which is not only ugly for the eyes, but also confuses the users. I expected to see a behavior like you see in LibreOffic

[Gambas-user] Translation of Gambas

2014-09-19 Thread Alain Baudrez
I've noticed some translation errors in the Dutch implementation of Gambas 3. Where can I find the po or or the pot-files so that those errors can be corrected? A.J. -- Slashdot TV. Video for Nerds. Stuff that Matters.

Re: [Gambas-user] gb.media missing from Kendek PPA

2013-11-10 Thread Alain Baudrez
2013/11/9 Kende Krisztián > 2013-11-09 13:10 keltezéssel, Alain Baudrez írta: > > I just did an install of the 3.5 (3.5.0-6precise1) and gb.media seems to > be > > missing. > > > > *Alain J. Baudrez* > > Missing (disabled) on Lucid and Precise, because this

Re: [Gambas-user] Key code constant wrong?

2013-11-09 Thread Alain Baudrez
2013/11/9 MinnesotaJon > .. > Wamukota wrote > > The value for the key.enter constant in the 3.5.0 on my box is given as > > 16777221 > > > > ? key.enter > > 16777221 > > > > But, the value returned by key.code in the program is 16777220 in the > > keyrelease or the keypress events which impl

[Gambas-user] gb.media missing from Kendek PPA

2013-11-09 Thread Alain Baudrez
I just did an install of the 3.5 (3.5.0-6precise1) and gb.media seems to be missing. *Alain J. Baudrez* -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming model

[Gambas-user] Key code constant wrong?

2013-11-09 Thread Alain Baudrez
The value for the key.enter constant in the 3.5.0 on my box is given as 16777221 ? key.enter 16777221 But, the value returned by key.code in the program is 16777220 in the keyrelease or the keypress events which implies that I cannot check if the key pressed is the Enter/Return key using the cons

Re: [Gambas-user] App.Major Version

2013-11-08 Thread Alain Baudrez
2013/11/8 Bruce > On Fri, 2013-11-08 at 10:37 +0100, Alain Baudrez wrote: > > Hoi, > > > > put those in a class > > > > ' Gambas class file : clsVerion > > ' Version Info > > ' > > ' Call as follows: >

Re: [Gambas-user] App.Major Version

2013-11-08 Thread Alain Baudrez
Hoi, put those in a class ' Gambas class file : clsVerion ' Version Info ' ' Call as follows: ' DIM cVersion as new clsVersion ' ' Print cVersion.VersionMajor & "." & cVersion.VersionMinor & " Build # " & cVersion.Build ' Property Read Version ' Full version eg. 1.2.39 P

Re: [Gambas-user] Gambas3 crash after last update of Kendeks PPA

2013-10-29 Thread Alain Baudrez
2013/10/29 Kende Krisztián > > 2013-10-29 07:43 keltezéssel, Alain Baudrez írta: > > I can confirm this problem while trying to open an existing project > > > > > > > > 2013/10/29 Jorge Carrión > > > >> Just click on New Proyect and obtain a

Re: [Gambas-user] Gambas3 crash after last update of Kendeks PPA

2013-10-28 Thread Alain Baudrez
I can confirm this problem while trying to open an existing project 2013/10/29 Jorge Carrión > Just click on New Proyect and obtain a error 11: > > > [11] Unknown symbol 'Path' in class 'Desktop'. > CBookmarkList.Load.48 > > -

Re: [Gambas-user] Update using Kendeks PPA crashes Gambas3.5

2013-10-28 Thread Alain Baudrez
2013/10/29 Kende Krisztián > > 2013-10-29 06:31 keltezéssel, Alain Baudrez írta: > > This morning an update of the 3.5 using Kendeks PPA ran on my box and > after > > it completed I noticed that Gambas3 is incomplete, as the icon in the > menu > > is gone and I

[Gambas-user] Update using Kendeks PPA crashes Gambas3.5

2013-10-28 Thread Alain Baudrez
This morning an update of the 3.5 using Kendeks PPA ran on my box and after it completed I noticed that Gambas3 is incomplete, as the icon in the menu is gone and I am missing some stuff I think $ sudo apt-get install gambas3 Reading package lists... Done Building dependency tree Reading state in

Re: [Gambas-user] gb.qt4 lack foreground and background colors

2013-10-28 Thread Alain Baudrez
Same effects on Ubuntu 12.04.3 / 64 With gb.gtk Buttontext is colored. With gb.qt4 only black (default) color is visible [System] OperatingSystem=Linux Kernel=3.8.0-32-generic Architecture=x86_64 Distribution=Ubuntu 12.04.3 LTS Desktop=GNOME Theme=QGtk Language=nl_NL.UTF-8 Memory=4919M [Libraries

Re: [Gambas-user] gb.qt4 lack foreground and background colors

2013-10-28 Thread Alain Baudrez
I have it with Mint 15 Cinnamon, default settings. Haven't tried it with other distro's [System] OperatingSystem=Linux Kernel=3.8.0-32-generic Architecture=x86_64 Distribution=Linux Mint 15 Olivia Desktop=GNOME Theme=QGtk Language=nl_NL.UTF-8 Memory=3687M [Libraries] Cairo=libcairo.so.2.11200.14 C

[Gambas-user] gb.qt4 lack foreground and background colors

2013-10-28 Thread Alain Baudrez
I switched to gb.qt4 and qb.qt4.ext from gb.gui and I noticed that all my controls - with the exception of labels - lost the custom foreground and background color. Is this a qt4 feature by default? A.J. -- October Webina

Re: [Gambas-user] Regexp Error at compile time: 'Bad Character Constant String'

2013-10-26 Thread Alain Baudrez
OK. The doc must be adapted then, because I took it directly from http://gambasdoc.org/help/comp/gb.pcre/regexp?v3 A.J. 2013/10/26 Benoît Minisini > Le 26/10/2013 13:10, Alain Baudrez a écrit : > > I would like to check the validity of an email using RegExp. gb.pcre has > > be

[Gambas-user] Regexp Error at compile time: 'Bad Character Constant String'

2013-10-26 Thread Alain Baudrez
I would like to check the validity of an email using RegExp. gb.pcre has been added to the project. This is the code that I use to validate an email: ' Gambas class file Private sRegExp As Regexp Public Sub btnCheck_Click() ' RegEx pattern is taken from http://gambasdoc.org/help/comp/gb.pcre/

Re: [Gambas-user] Adressing a self-made object

2013-10-24 Thread Alain Baudrez
Txs for the suggestion Fabien. -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from th

Re: [Gambas-user] Adressing a self-made object

2013-10-24 Thread Alain Baudrez
Hey guys, thanks for your input. I'm looking into the example 'Array of Controls' as Bruce suggested and will take it from there, maybe combining it with Tobias suggestion of iterating through the children of the ScrollView. A.J. --

[Gambas-user] Adressing a self-made object

2013-10-24 Thread Alain Baudrez
Hello, I have been trying to emulate the VB.NET listbox control with checkboxes. I use this code to create and display them in a scrollview: [code] ' Declare a checkbox Private hCheckbox As CheckBox ' Create instances ofthe checkbox and place them ' in the parent Scrollview called ScrollFuncti

Re: [Gambas-user] 3.5 - Listview: SelectAll method bug?

2013-10-23 Thread Alain Baudrez
Well, I should have looked at the proposed intellisense methods instead of relying on the docs. ;-) Txs A.J. 2013/10/23 Jussi Lahtinen > Documentation of this seems to be completely messed up. > > > ListView1.SelectAll FALSE ==> returns [Unexpected False] at compile time > > > ListView1.Sel

[Gambas-user] Sorting the human way

2013-10-23 Thread Alain Baudrez
Hoi, I've never been happy with the standard sorting algorithm when dealing with lists of names. The human eye expects the names to be listed alphabetically, overlooking spaces, hyphens, accented characters, ... Assume the following names: - Benoizy - Benoît - Benï Lewis - Ben

[Gambas-user] 3.5 - Listview: SelectAll method bug?

2013-10-22 Thread Alain Baudrez
I have a problem using the SelectAll method in a Listview. According to the docs, SelectAll can be used to select or deselect all items in a Listview. SUB *SelectAll* ( *[* *Selected* AS Boolean *]* ) Selects or deselects all items in the view. - If *Selected* is TRUE

Re: [Gambas-user] Event option on a locked form

2013-10-20 Thread Alain Baudrez
Benoît, Merci pour le service 'avant-vente' Alain -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. G

[Gambas-user] Event option on a locked form

2013-10-20 Thread Alain Baudrez
Hello, a question for a slight modification in the behavior of a 'locked form' I use the option to lock a form quite often, especially as I do not have a very steady hand and selecting and right-clicking on a control means that the control will move Locking the controls in place is super for

Re: [Gambas-user] Error popping up in 3.5 IDE

2013-10-16 Thread Alain Baudrez
ntu 12.4.3 and Mint 13 A.J. 2013/10/16 Kende Krisztián > Wed, 16 Oct 2013 07:19:19 +0200 -n > Alain Baudrez írta: > > > Hoi, > > > > every now and then I receive the following error while running the > > 3.5: > > > > -

[Gambas-user] Error popping up in 3.5 IDE

2013-10-15 Thread Alain Baudrez
Hoi, every now and then I receive the following error while running the 3.5: --- This application has raised an unexpected error and must abort. [45] File or directory does not exist. Project.GetExamples.4556 -

[Gambas-user] An unannounced update from 3.4.2 to 3.5 this morning

2013-10-15 Thread Alain Baudrez
This morning my daily update upgraded the 3.4.2 to 3.5. I suppose it must have been Kendek's PPA that did it. So, is the 3.5 OK to work with Is there a 'What's New' available What are the known problems we have to look out for. Alain J. Baudrez ---

Re: [Gambas-user] Releasing allocated memory and closing a database

2013-10-13 Thread Alain Baudrez
Txs for the info, Alain 2013/10/13 Benoît Minisini > Le 12/10/2013 21:42, Alain Baudrez a écrit : > > In an app where I use a class to retrieve info from a database, I use the > > constructor method _new() to open the connection to the db as follows: > > The database is

[Gambas-user] Releasing allocated memory and closing a database

2013-10-12 Thread Alain Baudrez
In an app where I use a class to retrieve info from a database, I use the constructor method _new() to open the connection to the db as follows: Code snippet: ' Gambas class file ' Name: db.class Private $db As New Connection ' Contructor Public Sub _new() ' Open the connection to the database

Re: [Gambas-user] online documentation

2013-10-05 Thread Alain Baudrez
http://www.downforeveryoneorjustme.com/gambasdoc.org tells us that the site is down for everybody -- October Webinars: Code for Performance Free Intel webinars can help

[Gambas-user] Erroneous behavior with panel/frame and embedded gridview when disabling the panel/frame

2013-09-18 Thread Alain Baudrez
I noticed a erroneous behavior with the panel and the frame control when disabling them by setting the panel/frame enabled property to false in Gambas 3.4.2 If you put a gridview or a menubutton in a panel/frame and you disable that panel/frame the labels, textboxes, buttons, … inherit the disable

[Gambas-user] I am new and am just saying hello

2010-05-15 Thread Alain Baudrez
Hello, Bonjour, I am Alain Baudrez from Brugge (Belgium). I am a retired professional MS SysAdmin / ICT Teacher / VB programmer from the Belgian Navy for over more than 20 years. My last job from 1096 to beginning this year was at the Belgian-Netherlands MineWarfare School at Ostend - http