Re: [Gambas-user] DrawingArea to Picture or Image

2014-08-27 Thread Tobias Boege
On Wed, 27 Aug 2014, abbat81 wrote: > Hi, > > I tried to use BarCode Example to make a picture or image with barcode. > But I can't do it > > Can you help me? > >From all the questions which occur regularly on this list, I think this one is my favourite. Look at the archives: [0]. There is als

Re: [Gambas-user] DrawingArea to Picture or Image

2014-08-27 Thread Tobias Boege
On Wed, 27 Aug 2014, abbat81 wrote: > Thank you Tobi, > > But I could not understand it. > > Can you tell what to add to BarCode Example to reprint drawingarea > image/picture to PictureBox1? > This example is really messy (e.g. it assumes the drawing device is large enough to contain the barco

Re: [Gambas-user] gambas autoconf fails

2014-08-27 Thread Tobias Boege
On Wed, 27 Aug 2014, Joan Luc? Lab?rda wrote: > Hi all > > Being using Fedora 19, i try to install Gambas 3.5.4 from the sources > then i need to run autoconf and that fail with these errors : > > [joanluc@pc-p-jola main]$ autoconf > /usr/bin/m4:aclocal.m4:1187: cannot open `m4/libtool.m

Re: [Gambas-user] accessing "embedded" project files from Shell command

2014-08-28 Thread Tobias Boege
On Thu, 28 Aug 2014, Kevin Fishburne wrote: > When you store data files in the project directory and compile the > program those files are contained within the resulting .gambas > executable. From within the program they can be accessed as though they > were in the current directory. Is it possi

Re: [Gambas-user] accessing "embedded" project files from Shell command

2014-08-28 Thread Tobias Boege
On Thu, 28 Aug 2014, Beno?t Minisini wrote: > Le 28/08/2014 22:14, Tobias Boege a ?crit : > > PS: Or what Benoit said... BTW: is the .gambas file in a Gambas-specific > > archive format? > > > > Yes. Why? > I thought about a way to unpack the archive. gba3 -x

Re: [Gambas-user] How to disable a select number of Tabs in a TabStrip?

2014-08-31 Thread Tobias Boege
On Sun, 31 Aug 2014, Willy Raets wrote: > Hi all, > > With TabStrip1.Enabled = True all tabs are disabled and that makes > sense. > I on the other hand, would like to disable only a few select tabs on a > TabStrip. I've tried several options, had a look at the wiki on TabStrip > and searched the m

[Gambas-user] gambaswiki.org driving me nuts

2014-09-01 Thread Tobias Boege
Hi, some time ago I noticed that gambaswiki.org does not work for me sometimes. This happens every couple days and so this very moment again. What I do is: - enter a URL, like http://gambaswiki.org/wiki/comp in this case. - hovering a link (to the gb component), my browser says it directs to

Re: [Gambas-user] gambaswiki.org driving me nuts

2014-09-01 Thread Tobias Boege
On Mon, 01 Sep 2014, Beno?t Minisini wrote: > Le 01/09/2014 19:42, Beno?t Minisini a ?crit : > > Le 01/09/2014 15:30, Tobias Boege a ?crit : > >> Hi, > >> > >> some time ago I noticed that gambaswiki.org does not work for me > >> sometimes. > &g

Re: [Gambas-user] How to use WBrowser.Print(True)

2014-09-01 Thread Tobias Boege
On Mon, 01 Sep 2014, abbat81 wrote: > Hi, > > I want to print HTML by "WBrowser.Print(True)" > > but I get: > > "Unknown symbol 'Print' in class in WebView" > Yes, because there is no such thing as a Print method in the WebView class. > WebVew is created: > > Private WBrowser As WebView > WB

Re: [Gambas-user] Drawing Areas, painting on them, and printing the results...

2014-09-03 Thread Tobias Boege
On Wed, 03 Sep 2014, Stephen wrote: > On 09/03/2014 02:33 PM, Jussi Lahtinen wrote: > >> You asked why am I using 10 drawing areas, oddly enough the answer is to > >> simplify things from a layout standpoint... > > > > Just figure out how to draw one card and make multiple copies of it to same > >

Re: [Gambas-user] [Gambas-devel] Creating a Control

2014-09-07 Thread Tobias Boege
On Sun, 07 Sep 2014, John Leake wrote: > Hi All, > I am struggling to understand how to create a new control. > > Please forgive me, I have read the help on this but I am none the wiser. > > As a test I just want to create a control that behaves like a > ToggleButton but changes colour each tim

Re: [Gambas-user] [Gambas-devel] Creating a Control

2014-09-08 Thread Tobias Boege
On Mon, 08 Sep 2014, John Leake wrote: > Hi All, > > Many thanks for your responses. I am posting this in the devel list > because I am prepared to spend the time improving the IDE. > Yes, but you only see 3 - 4 people regularly on gambas-devel (and mainly through gambas-devel-svn when they do

Re: [Gambas-user] [Gambas-devel] Creating a Control

2014-09-08 Thread Tobias Boege
On Mon, 08 Sep 2014, John Leake wrote: > Hi Tobi, > > Thank you for the response. Please do not forget I am a complete newbie > to Gambas and just trying to get bye following the docs without > bothering anyone. > Yes, I lose focus of such information while writing. Sorry. > >> Start > >> -

Re: [Gambas-user] Radio menu item

2014-09-08 Thread Tobias Boege
On Mon, 08 Sep 2014, Patrik Karlsson wrote: > I was looking for a way to have menu items behave like radio 'buttons' and > the only thing I found was an old archive post from 2009. > http://sourceforge.net/p/gambas/mailman/message/24068134/ > > Is it possible to have radio menu items now? > > /Pa

[Gambas-user] gb.db: NOT NULL fields?

2014-09-08 Thread Tobias Boege
Hi, when creating a table in a database, I wonder if it's possible to have fields tagged as "NOT NULL" [0]. I don't know if it's there already or if it would be portable across other DMBS (just asking on behalf of another person). I would imagine a new optional argument to Table.Fields.Add()...

Re: [Gambas-user] Gambas3 Text CodePage problem

2014-09-09 Thread Tobias Boege
On Tue, 09 Sep 2014, abbat81 wrote: > Hi, > > I've just installed Gambas3 on a fresh Lubuntu 12.04.5. > > And I got a problem. > > It's Ukrainian language. > > How to fix It? > > > > What does $ locale

Re: [Gambas-user] Gambas3 Text CodePage problem

2014-09-09 Thread Tobias Boege
On Tue, 09 Sep 2014, abbat81 wrote: > $locale > LANG=uk_UA.UTF-8 > LANGUAGE= > LC_CTYPE="uk_UA.UTF-8" > LC_NUMERIC="uk_UA.UTF-8" > LC_TIME="uk_UA.UTF-8" > LC_COLLATE="uk_UA.UTF-8" > LC_MONETARY="uk_UA.UTF-8" > LC_MESSAGES="uk_UA.UTF-8" > LC_PAPER="uk_UA.UTF-8" > LC_NAME="uk_UA.UTF-8" > LC_ADDRESS=

Re: [Gambas-user] [Gambas-devel] Creating a Control

2014-09-09 Thread Tobias Boege
On Tue, 09 Sep 2014, John Leake wrote: > So to elaborate: If a user wishes to create a new type of control then > it is highly likely that the control will be based on existing controls. > So as an example, if the new control contains a ToggleButton and the > way that ToggleButton is used in the n

Re: [Gambas-user] [Gambas-devel] Creating a Control

2014-09-10 Thread Tobias Boege
On Wed, 10 Sep 2014, John Leake wrote: > Hi Tobias, > > Thank you for your response. > > I am simply trying to improve the user experience while I can still see > things from a newbies perspective. > > Not all users find writing code fun. Many have a problem to solve

[Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser

2014-09-11 Thread Tobias Boege
Hi, attached is a project which shows odd behaviour. At first glance, the source code seems OK to me, so it might be a bug. It needs: - MySQL running, a user named "test" without password but with the ability to create a database.table "Kontakte.kontakte". To reproduce: - (If you start the

Re: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser

2014-09-11 Thread Tobias Boege
On Thu, 11 Sep 2014, T Lee Davidson wrote: > I get the same behavior: application hangs (with mysqld taking about > 20-40% of CPU and gbx3 taking about 7-16%). > > Upon relaunch of the app, the db table does indeed appear to have been > updated. > Right. -- "There's an old saying: Don't chan

Re: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser

2014-09-11 Thread Tobias Boege
On Fri, 12 Sep 2014, Christof Thalhofer wrote: > Hi Tobi, > > Am 11.09.2014 um 19:57 schrieb Tobias Boege: > > > attached is a project which shows odd behaviour. At first glance, the source > > code seems OK to me, so it might be a bug. > > > > It needs: >

Re: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser

2014-09-12 Thread Tobias Boege
On Fri, 12 Sep 2014, Christof Thalhofer wrote: > > This piece of code there I recognise. It's from the PictureDatabase example > > delivered with Gambas. So you suggest keeping table creation somewhere else? > > Yes, the function establishes one time the connection to db and this > functionality i

Re: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser

2014-09-12 Thread Tobias Boege
On Fri, 12 Sep 2014, Beno?t Minisini wrote: > Le 12/09/2014 00:45, Beno?t Minisini a ?crit : > > Le 11/09/2014 19:57, Tobias Boege a ?crit : > >> Hi, > >> > >> attached is a project which shows odd behaviour. At first glance, the > >> source &

[Gambas-user] Graph classes

2014-09-12 Thread Tobias Boege
Hi list, with #6468, it is finally possible to use Graphs from gb.data. You have a base "Graph" class from which all implementations inherit. It also acts like a driver/dispatcher for implementation functions. (Little) more on that below. GraphMatrix is a concrete graph implementation in gb.data

Re: [Gambas-user] Me.close BUG

2014-09-14 Thread Tobias Boege
On Sun, 14 Sep 2014, Willy Raets wrote: > Hi, > > It came to my attention that closing a Main form with a simple Me.Close > doesn't close any other forms that still might be open. > It didn't used to be that way as far as I can remember, so it must have > sneaked in somewhere along the road. > A

Re: [Gambas-user] Me.close BUG

2014-09-14 Thread Tobias Boege
On Sun, 14 Sep 2014, Tobias Boege wrote: > On Sun, 14 Sep 2014, Willy Raets wrote: > > Hi, > > > > It came to my attention that closing a Main form with a simple Me.Close > > doesn't close any other forms that still might be open. > > It didn't used to

[Gambas-user] Firebird?

2014-09-14 Thread Tobias Boege
Hi, I have seen in the commit logs that gb.db.firebird does not exist anymore but there are traces of Firebird in the docs, among them: - http://gambaswiki.org/wiki/doc/odbc which implies that firebird can be used through ODBC (I have no clue about that), - http://gambaswiki.org/wiki/install

Re: [Gambas-user] Modules

2014-09-15 Thread Tobias Boege
On Mon, 15 Sep 2014, John Leake wrote: > Hi All, > > I am really struggling with the Gambas 3 documentation. > > Can anyone tell me where I can find out what constitutes a 'module' ? > See [0]: "A static class is a class whose all members are static (see below). In Gambas, a static class is a

Re: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser

2014-09-16 Thread Tobias Boege
On Tue, 16 Sep 2014, Christof Thalhofer wrote: > Hi Tobias, > > Am 12.09.2014 um 10:52 schrieb Tobias Boege: > > >>> Have you tested that? Do you have a patch for the project? > > Did a correction, please test it. Now it should not hang any more and > work as e

Re: [Gambas-user] Control Backgroung/Foreground colour

2014-09-16 Thread Tobias Boege
On Tue, 16 Sep 2014, John Leake wrote: > I followed the docs for v3 > Compiling the Subversion repository. > > I checked out trunk and did > > $ ./reconf-all > ... > $ ./configure -C > > But there are lots of inaccessible header files. > > Attached the config.log Did you see [0]? Your attachme

Re: [Gambas-user] Control Backgroung/Foreground colour

2014-09-16 Thread Tobias Boege
On Tue, 16 Sep 2014, John Leake wrote: > Hi Tobi, > > Thanks. A link to [0] in 'Compiling the Subversion repository' would > save you a bit of email noise. > Sort of done. > [System] > Gambas=3.5.4 > OperatingSystem=Linux > Kernel=3.11.0-26-generic > Architecture=x86_64 > Distribution=Ubuntu 12

Re: [Gambas-user] Control Backgroung/Foreground colour

2014-09-16 Thread Tobias Boege
On Tue, 16 Sep 2014, John Leake wrote: > On 16/09/14 22:04, John Leake wrote: > > Back on topic re Subject. If in the IDE you select a ToggleButton and > > set its Foreground or Background colour and then later wish put either > > back to its default (by selecting the control, then highlighting th

Re: [Gambas-user] Control Backgroung/Foreground colour

2014-09-16 Thread Tobias Boege
On Tue, 16 Sep 2014, John Leake wrote: > > The "delete" key is the shortcut for deleting the control. Use the > > "backspace" key for voiding the property. > Sorry guys this is inconsistent and unintuitive and will drive newbies > away for sure. > > Where does it tell the user that this is so. If

[Gambas-user] Thread view broken

2014-09-16 Thread Tobias Boege
Hi people, as of recently there were more mails than usual which broke the thread view of which some mail clients are capable and which some of us like very much. On the one side, there are mails which start a new topic (judging from their content), but belong to an already existing thread. This

Re: [Gambas-user] Hot to get Class Name of Object

2014-09-16 Thread Tobias Boege
On Tue, 16 Sep 2014, Randall Morgan wrote: > Hi All, > > This may be answered else where but I was unable to locate an answer using > google. > > I need to be able to query an object for it's class name. I have an object > that gets passed an owner object then, the owner is changed to a new objec

Re: [Gambas-user] Wiki Update

2014-09-17 Thread Tobias Boege
On Wed, 17 Sep 2014, Randall Morgan wrote: > A colleague pointed out to me that the wiki does not specify is Gambas > arrays are Zero or One based index. I told him zero based. However, I > though the wiki maintainer might want to add that to the wiki page for > arrays. > Which do you mean? There

Re: [Gambas-user] Wiki Update

2014-09-17 Thread Tobias Boege
On Wed, 17 Sep 2014, Randall Morgan wrote: > We were looking at: http://gambaswiki.org/wiki/cat/arraydecl > But don't all array indices in Gambas begin at Zero? > What does it mean to be an array? I'm not sure. If you call an "array" what can be used like an array then these are the classes imple

Re: [Gambas-user] Building /trunk

2014-09-17 Thread Tobias Boege
On Wed, 17 Sep 2014, John Leake wrote: > I am working through the build errors in output.txt and the first header > file that cannot be found is > Could someone tell me what the C standard header path should be set to. > [System] > Gambas=3.5.90 > OperatingSystem=Linux > Kernel=3.11.0-26-generic >

Re: [Gambas-user] Building /trunk

2014-09-17 Thread Tobias Boege
On Wed, 17 Sep 2014, John Leake wrote: > Nearly there. > || THESE COMPONENTS ARE DISABLED: > || - gb.jit > Great. gb.jit needs LLVM >= 3.3, I think (although its configure.ac says only >= 3.1)... Depending on your Ubuntu version this may or may not be in your repositories yet. If it's not, it is

Re: [Gambas-user] Building /trunk

2014-09-17 Thread Tobias Boege
On Wed, 17 Sep 2014, Tobias Boege wrote: > On Wed, 17 Sep 2014, John Leake wrote: > > Nearly there. > > || THESE COMPONENTS ARE DISABLED: > > || - gb.jit > > > > Great. gb.jit needs LLVM >= 3.3, I think (although its configure.ac says > only >= 3.1)...

Re: [Gambas-user] Stat() Auth and Mode (misunderstanding or bug?)

2014-09-18 Thread Tobias Boege
On Thu, 18 Sep 2014, Willy Raets wrote: > On do, 2014-09-18 at 01:53 +0200, Beno??t Minisini wrote: > > Le 18/09/2014 01:50, Willy Raets a ??crit : > > > Hi all, > > > > > > Following was brought to my attention: > > > > > > To reproduce make a file named test in your home folder. > > > Create a co

Re: [Gambas-user] Locating a function's source code?

2014-09-18 Thread Tobias Boege
On Thu, 18 Sep 2014, T Lee Davidson wrote: > Hi All, > > I am almost lost when it comes to browsing the source code tree for > specific pieces of code. > > The Gambas home page (http://gambas.sourceforge.net/en/main.html) has a > "Browse Source Code" link, but that page only shows the latest co

Re: [Gambas-user] Make installation package fails on Manjaro

2014-09-19 Thread Tobias Boege
On Fri, 19 Sep 2014, J??rn Erik M??rne wrote: > > Den 18. sep. 2014 17:16, skrev Beno??t Minisini: > > Le 17/09/2014 10:12, J??rn Erik M??rne a ??crit : > >> Den 17. sep. 2014 03:41, skrev Beno??t Minisini: > >>> Le 16/09/2014 17:19, J??rn Erik M??rne a ??crit : > > It really doesn't mat

Re: [Gambas-user] Locating a function's source code?

2014-09-19 Thread Tobias Boege
On Fri, 19 Sep 2014, T Lee Davidson wrote: > I have registered an account on the Wiki and now need to get a handle on > the wiki syntax, so > ... so look at [0] first :-) > On 09/18/2014 01:57 PM, Tobias Boege wrote: > > Everything you find under /lang in the documentat

Re: [Gambas-user] Class info contradicts by Gambas added class info

2014-09-19 Thread Tobias Boege
On Fri, 19 Sep 2014, Willy Raets wrote: > Hi all, > > I have this Gambas library. > I have made sure classes have their description (using ''' at the > beginning) and public functions/methods have their description (using '' > just before the function/method) > > I have this exported class named

Re: [Gambas-user] Static Classes and Modules

2014-09-20 Thread Tobias Boege
On Sat, 20 Sep 2014, John Leake wrote: > Hi All, > Could someone please clarify the characteristics of a static class. > > My understanding of Static Classes from other languages is: > > They cannot be created or more precisely no more than one instance of > the class can exist. This means that i

Re: [Gambas-user] Gambas language specification

2014-09-20 Thread Tobias Boege
On Sat, 20 Sep 2014, John Leake wrote: > Hi All, > Could anyone point me to the languages definitive specification as used > by yacc and lex ? > I think nobody can. But the more I think about it, it should be possible to produce those files in less than a week... Regards, Tobi -- "There's an

Re: [Gambas-user] Gambas language specification

2014-09-20 Thread Tobias Boege
On Sat, 20 Sep 2014, John Leake wrote: > Anyone know when the parser and compiler were last generated ? > What makes you so sure that the sources are generated? I don't know the compiler at all (!) but these sources look hand-written, everywhere. When I said "to produce [ bison/flex sources ] in

Re: [Gambas-user] Static Classes and Modules

2014-09-20 Thread Tobias Boege
On Sun, 21 Sep 2014, B Bruen wrote: > On Sat, 20 Sep 2014 10:55:06 +0100 > John Leake wrote: > > > Thanks Tobi, > > >> So could someone tell me if a class without any dynamic variable ie a > > >> static class, can or cannot be created ? > > >> > > > > > > Or you can try it out. > > > > > > What

Re: [Gambas-user] Alternate language generation.

2014-09-20 Thread Tobias Boege
On Sat, 20 Sep 2014, John Leake wrote: > Hi All, > Do any of you old-timers to gambas recall any questions/interest in > using the IDE to generate source for other languages ? > I do not but I have seen in the archives that *many* people where around Gambas before I arrived which aren't here anym

Re: [Gambas-user] Alternate language generation.

2014-09-20 Thread Tobias Boege
On Sat, 20 Sep 2014, Tobias Boege wrote: > On Sat, 20 Sep 2014, John Leake wrote: > > Hi All, > > Do any of you old-timers to gambas recall any questions/interest in > > using the IDE to generate source for other languages ? > > > > I do not but I have seen i

Re: [Gambas-user] Alternate language generation.

2014-09-20 Thread Tobias Boege
On Sat, 20 Sep 2014, John Leake wrote: > When did you arrive and what period do you refer to ? > Legitimate questions. I joined the mailing list in 2012. There seems to be good traffic on this list since 2003 but this apparently was pre-Gambas1. There is no specific period I can refer you to. Wh

Re: [Gambas-user] Alternate language generation.

2014-09-20 Thread Tobias Boege
On Sun, 21 Sep 2014, B Bruen wrote: > On Sat, 20 Sep 2014 23:17:03 +0100 > John Leake wrote: > > > When did you arrive and what period do you refer to ? > > > > On 20/09/14 22:34, Tobias Boege wrote: > > > On Sat, 20 Sep 2014, John Leake wrote: > > >

Re: [Gambas-user] A good idea?

2014-09-20 Thread Tobias Boege
On Sun, 21 Sep 2014, B Bruen wrote: > As some will know, we use a lot of third-party (i.e. developed by us) > components and libraries in our projects. > Some of these are re-usable pop-up forms to provide common features across > our gui apps. Things like "AboutMe" and "SysInfos" forms that we

Re: [Gambas-user] Alternate language generation.

2014-09-20 Thread Tobias Boege
On Sat, 20 Sep 2014, John Leake wrote: > This is in great danger of getting off topic but holy shit. It has > certainly come a long way since then. > I think slight off topic is tolerated here...? > Who gave birth ? > Pretty sure Benoit did. > When did it come under source code control ? >

Re: [Gambas-user] Alternate language generation.

2014-09-20 Thread Tobias Boege
On Sat, 20 Sep 2014, John Leake wrote: > Are the archives searchable in any real meaningful way ? > Or is that a silly question/obvious. I am getting tired so please > respond as though I am a moron. > In the mailing lists overview[0], you have a search box on the left or search links (I see tho

Re: [Gambas-user] Making a simple C++ component

2014-09-21 Thread Tobias Boege
On Sun, 21 Sep 2014, J??rn Erik M??rne wrote: > Hi! > > I had a C++ introduction course at the University, so my knowledge of > the language is very basic (no play on words intended :) ). > > I've been looking at how to put together a simple C++ component, tried > to get an understanding from t

Re: [Gambas-user] Direct assignment to arrays of inherited classes does not work

2014-09-22 Thread Tobias Boege
On Mon, 22 Sep 2014, Julio Sanchez wrote: > Direct assignment to arrays of inherited classes does not work > > We have a class that inherits from the integer class [], we call > SuperInteger, this is your code: > Inherits Integer [] > > Public function higher() as integer > dim itemt as integer

Re: [Gambas-user] Gambas2 program on ArchLinux

2014-09-22 Thread Tobias Boege
On Mon, 22 Sep 2014, Rolf-Werner Eilert wrote: > Good morning everyone, > > Someone here who knows ArchLinux? I have a student who would like to use > a program I once wrote in Gambas2. > > I told him to install a Gambas2 package, then try the .gambas binary > from me. It does run like this on

Re: [Gambas-user] Gambas2 program on ArchLinux

2014-09-22 Thread Tobias Boege
On Mon, 22 Sep 2014, Rolf-Werner Eilert wrote: > > > Am 22.09.2014 11:11, schrieb Tobias Boege: > > On Mon, 22 Sep 2014, Rolf-Werner Eilert wrote: > >> Good morning everyone, > >> > >> Someone here who knows ArchLinux? I have a student who would like to

Re: [Gambas-user] Direct assignment to arrays of inherited classes does not work

2014-09-22 Thread Tobias Boege
On Mon, 22 Sep 2014, Fabien Bodard wrote: > strange... > > has we can say Control = TextBox ... no ? > Yes, this is because it is the other way around. TextBox inherits Control, so TextBox contains more information. To assign Control = TextBox, we just need to forget some of the additional stuff

Re: [Gambas-user] DateBox popup transparency issue

2014-09-23 Thread Tobias Boege
On Tue, 23 Sep 2014, Willy Raets wrote: > On di, 2014-09-23 at 18:36 +0200, Beno??t Minisini wrote: > > Le 23/09/2014 17:46, Tobias Boege a ??crit : > > > Hi, > > > > > > someone reported an issue with DateBox's chooser popup. After > > > dou

[Gambas-user] gb.data: Trie class

2014-09-23 Thread Tobias Boege
Hi, in revision #6506, I added two classes to gb.data: Trie and TriePrefix. Together they implement a Patricia Trie[0] a.k.a. Radix tree a.k.a. Prefix tree. Trie is the data container. It works just like a Collection. TriePrefix can be used to limit searches to a common prefix. This way you can s

Re: [Gambas-user] gb.data: Trie class

2014-09-24 Thread Tobias Boege
On Wed, 24 Sep 2014, Beno?t Minisini wrote: > Le 23/09/2014 21:47, Tobias Boege a ?crit : > > Also, Benoit: tell me what you think about the interface. I documented > > everything in the source code (c_trie.c). > > > > The interface seems perfect. It's just

Re: [Gambas-user] Strange error after switching PopUpMenu

2014-09-30 Thread Tobias Boege
On Tue, 30 Sep 2014, Rolf-Werner Eilert wrote: > I tried to set the PopUpMenu property in the IDE to the (one and only) > menu "mnDatei" in the project. Suddenly I get this error: > > This application has raised an unexpected > error and must abort. > > Unable to load image. > CFamily.DrawIcon.2

Re: [Gambas-user] Strange error after switching PopUpMenu

2014-09-30 Thread Tobias Boege
On Tue, 30 Sep 2014, Tobias Boege wrote: > On Tue, 30 Sep 2014, Rolf-Werner Eilert wrote: > > I tried to set the PopUpMenu property in the IDE to the (one and only) > > menu "mnDatei" in the project. Suddenly I get this error: > > > > This application has ra

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

2014-10-01 Thread Tobias Boege
On Wed, 01 Oct 2014, Jesus wrote: > El 01/10/14 a las #4, Alain Baudrez escribi?: > > Jesus, > > > > the funny thing is that I use gb.qt4 and I have this very long top to > > bottom list in Linux Mint 17 Mate. > > > > Maybe it is not 100% depending on the toolkit used. > > It is, at a degree. This

Re: [Gambas-user] Strange ERROR if "Utility" in Name Menu

2014-10-01 Thread Tobias Boege
On Wed, 01 Oct 2014, Ru Vuott wrote: > Hello, > > our friend of italian Gambas forum posted an his project, where a strange > error is raised if the "Name" of Menu is "Utility"... > > Your opinion ? > > His project here attached (look at the "Name" of "Menu5" inside !) > This is because the

Re: [Gambas-user] Strange ERROR if "Utility" in Name Menu

2014-10-01 Thread Tobias Boege
On Wed, 01 Oct 2014, J?rn Erik M?rne wrote: > > Den 01. okt. 2014 23:08, skrev Tobias Boege: > > On Wed, 01 Oct 2014, Ru Vuott wrote: > >> Hello, > >> > >> our friend of italian Gambas forum posted an his project, where a strange > >> e

Re: [Gambas-user] Constant order to process in component creation

2014-10-02 Thread Tobias Boege
On Thu, 02 Oct 2014, Jorge Carri??n wrote: > I'm creating a new component that appears fine in the IDE. > But I have a problem: > > There is a property who triggers a method when is implemented but it needs > another property for work and this property is processed after the first > one by the IDE

Re: [Gambas-user] Constant order to process in component creation

2014-10-02 Thread Tobias Boege
On Thu, 02 Oct 2014, Jorge Carri??n wrote: > Excuse my poor English. What I mean with "processing properties" is the > execution of triggered methods _read and _write of the propertie. > What I mean is somenthing like that: > > Export > > Inherits TableView > > Public Const _Properties As Strin

Re: [Gambas-user] Screenshots gambas.sourceforge.net 404

2014-10-03 Thread Tobias Boege
On Fri, 03 Oct 2014, Christof Thalhofer wrote: > Hi Beno??t, > > Am 02.10.2014 um 23:39 schrieb Beno??t Minisini: > > >> all links to screenshots in > >> http://gambas.sourceforge.net/en/main.html > >> point to nonexisting files. > > > > It works for me. > > Yes, now it's ok. Strange ... maybe

[Gambas-user] Feature request: A preview button in the wiki editor

2014-10-04 Thread Tobias Boege
Hi, when I try to update a wiki page, it takes me several (more than I want to admit) tries to get the markup right. For whatever reason. It would be nice, in the favour of cleaner page histories, to have a preview button when editing a page, not only "Save" or "Cancel". Luckily, this can wait u

Re: [Gambas-user] Feature request: A preview button in the wiki editor

2014-10-05 Thread Tobias Boege
On Sun, 05 Oct 2014, Beno?t Minisini wrote: > Le 04/10/2014 17:12, Tobias Boege a ?crit : > > Hi, > > > > when I try to update a wiki page, it takes me several (more than I want to > > admit) tries to get the markup right. For whatever reason. > > > > It

Re: [Gambas-user] Feature request: A preview button in the wiki editor

2014-10-05 Thread Tobias Boege
On Sun, 05 Oct 2014, Beno?t Minisini wrote: > Le 05/10/2014 17:57, Tobias Boege a ?crit : > > On Sun, 05 Oct 2014, Beno?t Minisini wrote: > >> Le 04/10/2014 17:12, Tobias Boege a ?crit : > >>> Hi, > >>> > >>> when I try to update a wiki page

Re: [Gambas-user] Feature request: A preview button in the wiki editor

2014-10-05 Thread Tobias Boege
On Sun, 05 Oct 2014, Beno?t Minisini wrote: > Le 04/10/2014 17:12, Tobias Boege a ?crit : > > Hi, > > > > when I try to update a wiki page, it takes me several (more than I want to > > admit) tries to get the markup right. For whatever reason. > > > > It

Re: [Gambas-user] AND and OR

2014-10-05 Thread Tobias Boege
On Sun, 05 Oct 2014, J??rn Erik M??rne wrote: > Why is it not allowed to use AND and OR in the same logical test? > It is allowed and works: $ gbx3 -e "(False And Not False) Or (False Or Not False)" True Maybe you refer to the AND IF and OR IF keywords in an IF statement? Regards, Tobi --

Re: [Gambas-user] IDE feature request

2014-10-09 Thread Tobias Boege
On Thu, 09 Oct 2014, Charlie wrote: > I like the IDE *[Ctrl] + H* and *[Ctrl] + J* split screen options.Getting > back to the *No split* screen seems to require *Right click> Advanced > View > > No Split.*Would it be possible to have a shortcut key to return to *No > split*?Thanks,Charlie > Appar

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

2014-10-12 Thread Tobias Boege
On Sun, 12 Oct 2014, Beno??t Minisini wrote: > The ChangeLog is available at: > > http://gambaswiki.org/wiki/doc/release/3.6.0 > I did three things on that page (see the history): - add the fact that there are Heaps new in gb.data, too, - mention the gb.inotify component, - fix the end of th

Re: [Gambas-user] Pre-release of Gambas 3.6 (2)

2014-10-14 Thread Tobias Boege
On Tue, 14 Oct 2014, Ron wrote: > >> I get the idea that default alignment of a TextLabel is TopNormal now, > >> is that on purpose? > > > > Mmm, it was always intended to be like that. But they were bugs about > > that I think in previous versions. > > But this way it doesn't align with a textBox

Re: [Gambas-user] Pre-release of Gambas 3.6 (2)

2014-10-15 Thread Tobias Boege
On Mon, 13 Oct 2014, Beno??t Minisini wrote: > Please test it and report if you find new problems! > Hans reports back: "until now it works flawlessly with a variety of projects". Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk

[Gambas-user] Gambas PR

2014-10-16 Thread Tobias Boege
Hi list, 4tionov (Christof Thalhofer) suggested in the Gambas-Club(.de) that Gambas (major?) releases could be presented in articles in different online magazines, as it happens with other programming languages (as I was told). I think this is one of the rare Gambas promotion ideas that is simple

Re: [Gambas-user] Just rejoined

2014-10-16 Thread Tobias Boege
On Thu, 16 Oct 2014, se...@drofle.co.uk wrote: > I used Gambas version 2 for some time a year or so ago. Now that > version 3 is here I have installed it via the PPA and will see how I > get on. It certainly looks very good. > Nice to hear but you could have had Gambas 3 since 2012 ;-) -- "Ther

Re: [Gambas-user] Gambas PR

2014-10-16 Thread Tobias Boege
On Thu, 16 Oct 2014, Tobias Boege wrote: > Hi list, > > 4tionov (Christof Thalhofer) suggested in the Gambas-Club(.de) that Gambas > (major?) releases Hrrm. I meant "minor", of course. The question is if every *bugfix* release demands an article, too. Major and minor one

[Gambas-user] Drag and drop inconsistent across toolkits

2014-10-17 Thread Tobias Boege
Hi, there is a project attached which tries to implement some drag and drop. The archive has gb.qt4 as graphical component but let me start with its behaviour under gb.gui: - drag from SourceLabel und SourceTextBox and drop on Destination work, - if I do three drag and drops: (i) from SourceLab

Re: [Gambas-user] Attempted build of v3.6.0 RPM fails due to DejaVuSans.ttf require

2014-10-17 Thread Tobias Boege
On Fri, 17 Oct 2014, T Lee Davidson wrote: > I am trying to build a RPM of Gambas 3.6.0 on my Mageia 3 system, > because I prefer to use package management instead of the > configure-make-install process. > > I successfully built a v3.5.4 RPM by grabbing the Source RPM from the > Mageia develop

Re: [Gambas-user] Attempted build of v3.6.0 RPM fails due to DejaVuSans.ttf require

2014-10-17 Thread Tobias Boege
On Fri, 17 Oct 2014, T Lee Davidson wrote: > On 10/17/2014 02:04 PM, Tobias Boege wrote: > > > > There were things done to that file. Quoting the commit logs (in excerpts): > > > > --8<

Re: [Gambas-user] Incomplete documentation in Wiki

2014-10-17 Thread Tobias Boege
On Sat, 18 Oct 2014, Ian wrote: > Greetings all, > Is there a way to automatically scan through the code base and give a > list of control elements that are missing documentation ? > It would be a good reference to have on the Wiki - a "things to do" list > for those who want to contribute. > L

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

2014-10-19 Thread Tobias Boege
On Sun, 19 Oct 2014, Alain Baudrez wrote: > 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 h

Re: [Gambas-user] Problem running mplayer from EXEC

2014-10-20 Thread Tobias Boege
On Mon, 20 Oct 2014, bill-lancaster wrote: > > this code:- > > Exec ["mplayer", "/folder/somemusic.mp3"] > > runs ok, but when trying to capture the mplayer ouput by adding] 'For Read > As "Process_Run"', mplayer doesn't run and this message is displayed. in Sub > Process_Run_Read() > > MPlaye

[Gambas-user] SmallWiki example

2014-10-20 Thread Tobias Boege
Hi Benoit, the SmallWiki example in 3.6 contains a copy of gb.markdown. IIRC this was because people wanted to test it before the component was easily available. But now, these redundant sources should go away, right? And gb.markdown needs to be added to its dependencies. Regards, Tobi -- "Ther

Re: [Gambas-user] Release goals for 3.7 / 4.0

2014-10-21 Thread Tobias Boege
On Tue, 21 Oct 2014, PICCORO McKAY Lenz wrote: > I think for gambas 3.7 the changes between versions must stop (preferable), > so then the repository can be able to stable across time.. > > i note in mocosoft like proyects that manyority of programs (99% excepts > for frameworks versions implement

Re: [Gambas-user] something for the wishlist 'a Combobox with ensurevisible center'

2014-10-21 Thread Tobias Boege
On Tue, 21 Oct 2014, Beno??t Minisini wrote: > Le 21/10/2014 21:33, Karl Reinl a ??crit : > > Salut Beno??t, > > > > Combobox with 'EnsureVisible centered' by that I mean, that if my value > > would be in the last line, instead, appears in the Center of the list > > display and so making the follow

Re: [Gambas-user] Release goals for 3.7 / 4.0

2014-10-23 Thread Tobias Boege
On Thu, 23 Oct 2014, Ron wrote: > Maybe we should have some Mike this? > > Ifdef System.Version >= 3.6.0 then > ' do special new code.. > Else > ' something else > Endif > Do you mean System.FullVersion? -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk --

Re: [Gambas-user] Release goals for 3.7 / 4.0

2014-10-23 Thread Tobias Boege
On Thu, 23 Oct 2014, Tobias Boege wrote: > On Thu, 23 Oct 2014, Ron wrote: > > Maybe we should have some Mike this? > > > > Ifdef System.Version >= 3.6.0 then > > ' do special new code.. > > Else > > ' something else > > Endif > >

[Gambas-user] Window minimum dimensions

2014-10-24 Thread Tobias Boege
Hi list, did anyone succeed in restricting a window to minimum dimensions, like "my window shall not be smaller than (w,h) = (100,100)". I tried quite some variations of the same idea: Private $iMinW As Integer Private $iMinH As Integer Public Sub Form_Resize() Me.W = Max(Me.W, $iMinW

[Gambas-user] SwitchButton with "OFF" when Enabled gets False

2014-10-24 Thread Tobias Boege
Hi Benoit, gb.form's SwitchButton's DrawingArea_Draw() contains this: 80 If $fValue > 0 Then 81 If $iBg = Color.Default Then 82 iCol = Color.SelectedBackground 83 Else 84 iCol = $iBg 85 Endif 86 If Not Me.Enabled Then iCol = Color.Desaturate(Color.Merge(iCol,

[Gambas-user] Tip #14 (EMBED)

2014-10-24 Thread Tobias Boege
Hi, I received a question about tip #14 in the IDE. Indeed it contains some unnecessary complication: --8<--[ tips.en ]--- 254 Dim hSuperControl As MyForm 255 ' Create a dialog 256 hForm = New MyDialog 257 ' Insert a form into this dialog 25

Re: [Gambas-user] Window minimum dimensions

2014-10-24 Thread Tobias Boege
On Fri, 24 Oct 2014, Beno?t Minisini wrote: > Le 24/10/2014 12:10, Tobias Boege a ?crit : > > Hi list, > > > > did anyone succeed in restricting a window to minimum dimensions, like "my > > window shall not be smaller than (w,h) = (100,100)". > > > &g

<    5   6   7   8   9   10   11   12   13   14   >