Re: [Gambas-user] Question

2015-09-29 Thread Tobias Boege
On Tue, 29 Sep 2015, Moviga Technologies wrote: > > > Property Read {Map} As Map > > What are the brackets doing? They tell the compiler to treat the bracketed string as an identifier. This is documented here[0]. Since there apparently is a class named "Map" already, it might cause trouble f

Re: [Gambas-user] Question

2015-09-29 Thread Tobias Boege
On Tue, 29 Sep 2015, Jussi Lahtinen wrote: > How does the mapviewer work..? I get only empty view, and quickly I don't > see way to define the map. > I believe we have a gb.map example using MapView here[0], German though. Scroll all the way down the page to find the download section. Regards, T

Re: [Gambas-user] MaskBox bug?

2015-09-29 Thread Tobias Boege
On Tue, 29 Sep 2015, Peter Roc wrote: > >Greetings. > >New to gambas and since I have a small project to develop decided to study >the language. Version 3.8.1 >While using a MaskBox with the Mask [0-9], inserting 0 it turns out that >it's not displayed, I can see the cursor mo

Re: [Gambas-user] Paint.LineWidth question

2015-09-30 Thread Tobias Boege
On Wed, 30 Sep 2015, Rolf-Werner Eilert wrote: > This appears to be strange, though it might be just a misunderstanding. > > [code below] > > should draw a line, and it does. Now, if I want a thicker line, I set > LineWidth to... what? It is not documented. > > I tried 2, I tried 10, I tried 1

Re: [Gambas-user] Paint.Rectangle question

2015-09-30 Thread Tobias Boege
On Wed, 30 Sep 2015, Rolf-Werner Eilert wrote: > Is Paint.Rectangle to draw a filled rectangle or an empty one? > > I tried > > Paint.LineWidth = 1 > Paint.Color(Color.Black) > Paint.Rectangle(TabelleX, TabelleY, TblSpalteRechts[tblAnzSpalten] > - TabelleX, cy - TabelleY) > P

Re: [Gambas-user] Question

2015-09-30 Thread Tobias Boege
On Wed, 30 Sep 2015, adamn...@gmail.com wrote: > On Tue, 29 Sep 2015 21:18:40 +0200 Tobias Boege wrote: > > On Tue, 29 Sep 2015, Jussi Lahtinen wrote: > > > How does the mapviewer work..? I get only empty view, and quickly I don't > > > see way to define the map. &

Re: [Gambas-user] How to input hide password into gambas command line project ?

2015-10-01 Thread Tobias Boege
On Thu, 01 Oct 2015, Yahoo wrote: > Hello all, > > Since few day I work on a little project that consist to a cli program > written in Gambas3 where the first task is to ask to the user to enter a > password but of course, all written character must be hidden. > > I try to use INPUT instruction

Re: [Gambas-user] How to input hide password into gambas command line project ?

2015-10-01 Thread Tobias Boege
On Thu, 01 Oct 2015, Yahoo wrote: > About gb.ncurses, when I say the terminal become unusable I mean that the > Carrier Return does not work after closing my program, so press on the enter > key does not create to a new line and the prompt is written on the same line, > at the location where is

Re: [Gambas-user] How to input hide password into gambas command line project ?

2015-10-02 Thread Tobias Boege
On Fri, 02 Oct 2015, Charlie wrote: > Have you tried something simple like and let the computer do the work: - > > /Public Sub Form_Open() > Dim sDesktop, sDir As String > > sDesktop = Desktop.Type > > Select Case sDesktop > Case "GNOME" > Shell "gksu ls -a" To sDir 'Ubuntu, Mint,

Re: [Gambas-user] How to input hide password into gambas command line project ?

2015-10-02 Thread Tobias Boege
On Fri, 02 Oct 2015, Beno??t Minisini wrote: > Le 02/10/2015 17:19, Tobias Boege a ?crit : > > On Fri, 02 Oct 2015, Charlie wrote: > >> Have you tried something simple like and let the computer do the work: - > >> > >> /Public Sub Form_Open() > >> Di

[Gambas-user] Forward events from constructor

2015-10-02 Thread Tobias Boege
Hi, I'm puzzled by some behaviour of the interpreter when objects raise events from their constructors. The following big block of text just gives the rationale of my question. I think what I'm doing is not too strange. There is a short demonstration project attached. In my real project I want t

Re: [Gambas-user] Pointer or something

2015-10-04 Thread Tobias Boege
On Sun, 04 Oct 2015, Moviga Technologies wrote: > Well, just following the logic from variables. If a and b are integers, > and b=2, and then one does a=b, and then Inc a, b is still 2 while a is > 3. > In Gambas, objects are always references. You may find one or the other additional insight f

Re: [Gambas-user] Forward events from constructor

2015-10-04 Thread Tobias Boege
On Sat, 03 Oct 2015, Beno??t Minisini wrote: > > Is there a limitation, about raising events from constructors, I don't know > > of? Also note how, in the demonstration project, I can very well initiate > > the validation procedure just after the constructor finished. > > > > The logic behind that

Re: [Gambas-user] Forward events from constructor

2015-10-04 Thread Tobias Boege
On Sun, 04 Oct 2015, Beno??t Minisini wrote: > Le 04/10/2015 18:29, Tobias Boege a ?crit : > > On Sat, 03 Oct 2015, Beno??t Minisini wrote: > >>> Is there a limitation, about raising events from constructors, I don't > >>> know > >>> of? Also

Re: [Gambas-user] Forward events from constructor

2015-10-04 Thread Tobias Boege
On Sun, 04 Oct 2015, Beno??t Minisini wrote: > >> It's not technically necessary to do that, but it avoids a lot of > >> possible annoying bugs in your code. > >> > > > > I understand. And by the way, that Timer trick works even in the following > > form: > > > > --8<--[ ValidateBox.class]-

Re: [Gambas-user] Embedded arrays

2015-10-05 Thread Tobias Boege
On Mon, 05 Oct 2015, Moviga Technologies wrote: > If my question remains unanswered because it was not clear, this is what > I meant: > > When do you want to use: > Dim sText[] As String > > instead of: > Dim sText As String[] > > According to the wiki it seems they can only be used with native

Re: [Gambas-user] Fixed arrays still dynamic

2015-10-05 Thread Tobias Boege
On Mon, 05 Oct 2015, Moviga Technologies wrote: > I thought when one declares a fixed array, one should not be able to add > new elements to it? > But, this works: > > ' Gambas module file > > Public Sub Main() > > Dim sCarBrands As New String[5] > >sCarBrands = ["Volvo", "Saab", "Fiat", "

Re: [Gambas-user] Fixed arrays still dynamic

2015-10-05 Thread Tobias Boege
On Mon, 05 Oct 2015, Moviga Technologies wrote: > > Ah, yes - it slipped my mind that inline arrays instantiates a new > object. > My example should rather have been: > > Dim aCarBrands As New String[5] > > With aCardBrands >.Add("Volvo") >.Add("Saab") >.Add("Fiat") >.Add("Aston

Re: [Gambas-user] IDE code questions - property editors

2015-10-06 Thread Tobias Boege
On Wed, 07 Oct 2015, Beno??t Minisini wrote: > If you want to have custom dialogs associated with custom components, > I'm afraid it's not possible at the moment. > > What is needed is: > - A way to have a gambas library side by side with a component, that > would include the custom dialogs. > -

[Gambas-user] Any users of gb.compress.zlib's Uncompress.String()?

2015-10-06 Thread Tobias Boege
Hi list, in revision #7393 I fixed a problem in gb.compress.zlib where the String() method of the Uncompress class could not cope with gzip data which is fre- quently returned from web servers in my application. (Note that the File() method worked fine before.) What I did was: if the usual decomp

[Gambas-user] Super cool crash when reading settings twice

2015-10-07 Thread Tobias Boege
Hi Benoit, I have a crash in one of my projects. I managed to isolate the problem to the attached project. I have a class which has a Settings As Collection property for use with Settings' Read() and Write() methods. What I now do is write the object to the settings and then read it *twice* in a

Re: [Gambas-user] How to draw on a ScrollArea from with in a class that inherits ScrollArea?

2015-10-11 Thread Tobias Boege
On Mon, 12 Oct 2015, Moviga Technologies wrote: > Hi! > > In my class I inherit ScrollArea, and I want to draw on it from within > the class. > When I do Paint.Begin(Me) I get an error that this is "Not a paintable > object". How should I do this? > You should not use Paint.Begin() at all. You

Re: [Gambas-user] How to draw on a ScrollArea from with in a class that inherits ScrollArea?

2015-10-12 Thread Tobias Boege
On Mon, 12 Oct 2015, Moviga Technologies wrote: > > > OK, I think I found a solution. I inherit a UserContainer, and create a > ScrollArea inside :) That should do it! This is in general the better approach. It doesn't expose unnecessary interfaces. But I wonder what you found a solution for

Re: [Gambas-user] How to draw on a ScrollArea from with in a class that inherits ScrollArea?

2015-10-12 Thread Tobias Boege
On Mon, 12 Oct 2015, Moviga Technologies wrote: > Your example works I realise now that the problem was that I called > Test() from within the class, but you are calling it from the outside. I > guess the ScrollArea was not properly instantiated. Is there any way to > test if the class has been

Re: [Gambas-user] How to draw on a ScrollArea from with in a class that inherits ScrollArea?

2015-10-12 Thread Tobias Boege
On Mon, 12 Oct 2015, Moviga Technologies wrote: > > > Yes, I also think that this solution is better than the inital one, but > just for the sake of learning; how could I practically do it? > >From what you said, I tried creating an observer on Me, but then I > realised that the observer's event

Re: [Gambas-user] Can FontChooser retur a Font object?

2015-10-13 Thread Tobias Boege
On Wed, 14 Oct 2015, Moviga Technologies wrote: > > > I can only find FontChooser.SelectedFont which returns a comma separated > string. > > Are there really no way for a Font object and the FontChooser to > "communicate", either by the FontChooser returning a Font object, or by > the Font obj

[Gambas-user] Wiki style sheet

2015-10-25 Thread Tobias Boege
Hi, the wiki looks ill. Is this intended (we have autumn after all) or does my browser miss some new features to correctly render the perfectly healthy style sheet? Do others have thoughts about it? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk --

Re: [Gambas-user] Wiki style sheet

2015-10-25 Thread Tobias Boege
On Sun, 25 Oct 2015, Beno??t Minisini wrote: > Le 25/10/2015 14:25, Tobias Boege a ?crit : > > Hi, > > > > the wiki looks ill. Is this intended (we have autumn after all) or does my > > browser miss some new features to correctly render the perfectly healthy >

Re: [Gambas-user] New website design in beta version

2015-10-29 Thread Tobias Boege
On Mon, 26 Oct 2015, Beno??t Minisini wrote: > Hi, > > I have uploaded a beta version of a new website design at: > > http://gambas.sourceforge.net/en/test.html > > You still have to login both on the wiki and the bugtracker, but the > accounts are the same. > > The all contents is now stored

Re: [Gambas-user] A little question about treeView

2015-11-05 Thread Tobias Boege
On Thu, 05 Nov 2015, Jorge Carri??n wrote: > I have a treeView and I change the current item by > > myTreeview.moveto(newkey) > > Since then, the current key is newkey but the item is not highlightes on > screen > > I can't find the way to highlight the new item... How can it be done? > TreeVi

[Gambas-user] Enumerate all classes inheriting X

2015-11-05 Thread Tobias Boege
Hi, in my project I have the need to enumerate all classes from my current project (not from components) for which hClass Is X is true for some fixed class X, once at startup. I think I tried For Each hClass In Classes hCurrent = hClass While hCurrent.Parent If hCurrent.Parent

Re: [Gambas-user] Enumerate all classes inheriting X

2015-11-07 Thread Tobias Boege
On Sat, 07 Nov 2015, zainudin ahmad wrote: > On Fri, Nov 6, 2015 at 12:04 PM, Tobias Boege wrote: > > > Hi, > > > > in my project I have the need to enumerate all classes from my current > > project (not from components) for which > > > > hClass I

Re: [Gambas-user] Enumerate all classes inheriting X

2015-11-07 Thread Tobias Boege
On Sat, 07 Nov 2015, Beno??t Minisini wrote: > Le 06/11/2015 06:04, Tobias Boege a ?crit : > > Hi, > > > > in my project I have the need to enumerate all classes from my current > > project (not from components) for which > > > >hClass Is X > >

Re: [Gambas-user] gb.Text obsolete?

2015-11-09 Thread Tobias Boege
On Mon, 09 Nov 2015, Rolf-Werner Eilert wrote: > From older Gambas2 code, I inherited a Mode = gb.Text in a Replace() > function. Gambas 3.8.3 says, it doesn't exist anymore, but it's still > mentioned in the help. > > What should I use instead? > I think gb.IgnoreCase [0] is the replacement.

Re: [Gambas-user] Typing in - help for own function

2015-11-16 Thread Tobias Boege
On Mon, 16 Nov 2015, Rolf-Werner Eilert wrote: > Just had this idea: When I type in the name of a function in one of the > classes of my project (an own function), the help pops up and tells me > about the variables needed and the data type of that function. > > But it would be helpful (e. g. af

Re: [Gambas-user] Typing in - help for own function

2015-11-16 Thread Tobias Boege
On Mon, 16 Nov 2015, Tobias Boege wrote: > '' Analyze a line. > '' > '' **Remember that the result is ByRef.** > Public Function Analyze(sLine As String, hRes As AnalyzeResult) As Boolean Of course I would screw something up in this completely

Re: [Gambas-user] Restoring position in an HSplit

2015-11-24 Thread Tobias Boege
On Tue, 24 Nov 2015, Rolf-Werner Eilert wrote: > I've got an HSplit which fills the main area in my application. > > The HSplit contains a TreeView on the left and a TabStrip on the right. > > Of course, the HSplit makes one bar in the middle when running. When the > program starts, the position

[Gambas-user] More authentication methods for gb.net.smtp

2015-11-29 Thread Tobias Boege
Hi Benoit, at present gb.net.smtp supports only AUTH PLAIN as authentication method. Hans Lehmann has modified the component to include AUTH LOGIN and CRAM-MD5. He said he tested it with his Freenet mail account which, in particular, supports CRAM-MD5. I have just corrected some logic errors in c

Re: [Gambas-user] More authentication methods for gb.net.smtp

2015-11-29 Thread Tobias Boege
On Sun, 29 Nov 2015, Beno??t Minisini wrote: > Le 29/11/2015 18:54, Tobias Boege a ?crit : > > Hi Benoit, > > > > at present gb.net.smtp supports only AUTH PLAIN as authentication method. > > Hans Lehmann has modified the component to include AUTH LOGIN and CRAM-MD5. &g

Re: [Gambas-user] Wizard question

2015-12-01 Thread Tobias Boege
On Tue, 01 Dec 2015, wi...@develop.earthshipeurope.org wrote: > Hi all, > > I'm currently working on a Wizard and have a question. > > The thing with this specific wizard is that once a user starts the > wizard, he/she should run through the whole wizard, so no canceling > halfway. > > For thi

Re: [Gambas-user] Wizard question

2015-12-01 Thread Tobias Boege
On Wed, 02 Dec 2015, Moviga Technologies wrote: > Can't you just find the .children[] index and hide it? Whenever I see somebody doing this, part of me wants to commit a silly change (like changing the name of a control, or whatever bit of information their algorithm uses to find the correct chil

Re: [Gambas-user] Egads! A new (nasty) error message

2015-12-03 Thread Tobias Boege
On Fri, 04 Dec 2015, adamn...@gmail.com wrote: > On Wed, 2 Dec 2015 14:06:20 +1030 > "adamn...@gmail.com" wrote: > > > Generally lately, I'm getting the following error in "random" places: > > [42] System error #27: File too large. > > > > Que? > > > > bruce > > Some more information. > > Thi

Re: [Gambas-user] Finding all function calls in IDE

2015-12-11 Thread Tobias Boege
On Fri, 11 Dec 2015, Rolf-Werner Eilert wrote: > Hi folks, > > There are some functions in a program which have too many arguments > (arguments which aren't used in the function). I know that these > functions are called from a number of places in the program. > > So if I want to get rid of the

Re: [Gambas-user] Class header features (was: Declaring variables in class header without Public/Private is possible...)

2015-12-11 Thread Tobias Boege
On Fri, 11 Dec 2015, Moviga Technologies wrote: > > > > Things are PRIVATE by default, but it was not necessarily a good idea > > to > > allow that. > > > > Maybe I should remove that, but it's not backward-compatible, so many > > programs will not compile anymore. > > > > Regards, > > Thank y

Re: [Gambas-user] Class header features (was: Declaring variables in class header without Public/Private is possible...)

2015-12-13 Thread Tobias Boege
On Sat, 12 Dec 2015, Fabien Bodard wrote: > gbs3 -e -p '{long[]}a=[1,1]:for {i}ii = 0 to > 50:{l}i=a[0]+a[1]:a[0]=a[1]:a[1]=i:print i:next' > > hermetics > I don't know what this has to do with the thread but I'm amazed that this works. As I read it '{i}ii', e.g., is a crude way to declare an in

Re: [Gambas-user] whats different between "left$" and "left" string functions

2015-12-14 Thread Tobias Boege
On Mon, 14 Dec 2015, wi...@develop.earthshipeurope.org wrote: > On 2015-12-14 22:45, Moviga Technologies wrote: > > They are the same. > > > > Beno??t, I've been wanting to ask if we could have an option to turn off > > one of the sets? As for me, I do not like the ones with dollar signs, > > but

Re: [Gambas-user] whats different between "left$" and "left" string functions

2015-12-14 Thread Tobias Boege
On Mon, 14 Dec 2015, wi...@develop.earthshipeurope.org wrote: > On 2015-12-14 23:01, PICCORO McKAY Lenz wrote: > > i think the problem are again in documentation or some misc-information > > > > search at documentation seem that the difference are the manipulation > > respect set of > > > > one i

Re: [Gambas-user] XML string = UTF-8?

2015-12-18 Thread Tobias Boege
On Fri, 18 Dec 2015, Rolf-Werner Eilert wrote: > Is an XML file like the ones which are produced by File.Save and > RichTextArea a UTF-8 file? > > Do I have to handle the string with the String class, or is it plain > ASCII and has to be handled with ordinary Mid, Left, InStr? > It is possible t

Re: [Gambas-user] Global variables (was: POSSIBLE! bug in while loop)

2015-12-29 Thread Tobias Boege
On Tue, 29 Dec 2015, Stephen wrote: > Reading this, in addition to seeing the need for a "Wait", I thought the > following; > >Does putting the desired global variable in a class mean the class > needs to be instantiated within the scope of the code example given? i.e. > Strictly speaking,

Re: [Gambas-user] C component declaration

2015-12-29 Thread Tobias Boege
On Tue, 29 Dec 2015, tercoide wrote: > How to declare arrays when making a component, ie : > C declaration in library > void glVertexPointer(GLint size, GLenum type, GLsize stride, const > GLvoid*array) > > C gb component > > GB_STATIC_METHOD( ..?? > > DECLARE_METHOD(.? > I'll tell yo

[Gambas-user] Share code across projects

2016-01-24 Thread Tobias Boege
Hi everybody, with the semester break upcoming, I plan to supplement a project of mine with some other applications in which I want to use classes from the project. I have not, if memory serves, written any "local" components yet. By "local" I mean a component which is *not* installed into /usr/li

Re: [Gambas-user] Share code across projects

2016-01-24 Thread Tobias Boege
On Sun, 24 Jan 2016, PICCORO McKAY Lenz wrote: > i thinks that all those great "ideas" have too many depends on network! > > some time ago some devels cited the problem of the online-always > documentation and > > the gambas team work hard to make the help available offline, > > now this "ideas"

Re: [Gambas-user] Share code across projects

2016-01-24 Thread Tobias Boege
On Sun, 24 Jan 2016, Beno??t Minisini wrote: > Le 24/01/2016 17:17, Tobias Boege a ?crit : > > Hi everybody, > > > > with the semester break upcoming, I plan to supplement a project of mine > > with some other applications in which I want to use classes from the > &g

Re: [Gambas-user] Sharing libraries across projects

2016-01-25 Thread Tobias Boege
On Tue, 26 Jan 2016, Beno??t Minisini wrote: > Here is a proposal, tell me what you think. > > 1) When you create a project library, you will have to specify a vendor. > > 2) When creating the library executable of a library project, a symbolic > link to the executable will be created in > '~/.

Re: [Gambas-user] Sharing libraries across projects : new proposal!

2016-01-30 Thread Tobias Boege
On Sat, 30 Jan 2016, Beno??t Minisini wrote: > Hi, > > I'm still thinking about that, especially trying to find the simplest > solution. > Good, I still need it :-) ATM I can continue work by having a copy of the library in each project that uses it. So we should not rush things. (The new proje

Re: [Gambas-user] Sharing libraries across projects : initial implementation

2016-02-01 Thread Tobias Boege
On Mon, 01 Feb 2016, Beno??t Minisini wrote: > Hi, > > In revision #7593 you get a new implementation of the library management: > > 1) When you create an executable from a library project, a symbolic link > is created in '~/.local/share/gambas3/lib/', where is > the vendor name now defined in

Re: [Gambas-user] Sharing libraries across projects : initial implementation

2016-02-01 Thread Tobias Boege
On Mon, 01 Feb 2016, Beno??t Minisini wrote: > > Also I think I would at some point want to run my project from an > > executable. Will there be a way that I can explicitely tell the > > interpreter to look in ~/.local/share for libraries? > > At the moment, you must be in debug mode to use that f

[Gambas-user] Debugging with libraries

2016-02-01 Thread Tobias Boege
Hi, now that I use a library in my projects, I noticed that debugging these projects is sufficiently harder. E.g. if a call into the library raises an error, I cannot display local variables and have basically to resort to Debug statements in the library. My question is this: is it possible with

Re: [Gambas-user] Debugging with libraries

2016-02-02 Thread Tobias Boege
On Tue, 02 Feb 2016, Christof Thalhofer wrote: > Hi, > > Am 02.02.2016 um 00:12 schrieb Tobias Boege: > > > now that I use a library in my projects, I noticed that debugging these > > projects is sufficiently harder. E.g. if a call into the library raises > > an

Re: [Gambas-user] File mode syntax

2016-02-04 Thread Tobias Boege
On Thu, 04 Feb 2016, Rolf-Werner Eilert wrote: > Hi folks, I stumbled over this one: > > The help page about File Mode Syntax (for Chmod and Chgrp) says that > file mode has to be a string with 9 characters. The table lists them. > > I can leave out or taint random positions by unknown character

[Gambas-user] Concurrent gb.settings

2016-02-12 Thread Tobias Boege
Hi Benoit, in my project I use a Gambas library which manages some kind of flat file database where "config" files in gb.settings format play a role. The current project I use the library in is a gb.web.form project. I got to install it on a friend's server and on its first day of runtime, I notic

Re: [Gambas-user] Problem compiling projects

2016-02-14 Thread Tobias Boege
On Sun, 14 Feb 2016, Peter Roc wrote: > >Hi. > >After having installed the ppa for daily builds, purged it, installed from >svn, removed it, Did you remove it properly, i.e. with a "make uninstall"? >and reinstalled the ppa for the stable releases, gambas >stopped compiling

Re: [Gambas-user] Problem compiling projects

2016-02-14 Thread Tobias Boege
On Sun, 14 Feb 2016, Peter Roc wrote: > > Hi Tobias. Thank you for your reply. > >Yes, I did make uninstall. By stopped I mean, everything worked fine, it's >just than when pressing F7 nothing happens. Going to the project folder >there is no .gambas file.

Re: [Gambas-user] XmlDocument.Open(filename) gives NULL

2016-02-16 Thread Tobias Boege
On Tue, 16 Feb 2016, KKing wrote: > I'm using Gambas 3.5.4 on Linux Mint > > I want to use XmlDocument but can't seem to load an existing xml > document file. > > It errors on loads and just gives error text of "Null object" > > I can open and read the same file via XmlReader, but I want to wor

Re: [Gambas-user] XmlDocument.Open(filename) gives NULL

2016-02-16 Thread Tobias Boege
On Tue, 16 Feb 2016, Tobias Boege wrote: > On Tue, 16 Feb 2016, KKing wrote: > > I'm using Gambas 3.5.4 on Linux Mint > > > > I want to use XmlDocument but can't seem to load an existing xml > > document file. > > > > It errors on loads and just

Re: [Gambas-user] Get the object of a component by name.

2016-02-23 Thread Tobias Boege
On Tue, 23 Feb 2016, Matias De lellis wrote: > Dear All, > > > I'm starting a new project. In a few words is a set of controls to interact > with Arduino using the Firmata protocol[1]. > To understand better, in general the idea is inspired by Ctrlr[2] that allows > interact with MIDI controll

Re: [Gambas-user] Get the object of a component by name.

2016-02-23 Thread Tobias Boege
On Tue, 23 Feb 2016, Matias De lellis wrote: > > So, what I read out of your mail is that you have one object Firmata1 which > > has a certain configuration. You now want to add controls dynamically to the > > Form which should inherit Firmata1's configuration by obtaining a reference > > to the Fi

Re: [Gambas-user] Get the object of a component by name.

2016-02-24 Thread Tobias Boege
On Wed, 24 Feb 2016, Matias De lellis wrote: > Well... > You're right .. The 'Instance' method seems to be hidden.. However, the > example clearly indicates that this was the way to use it..?? > I have to research better, but if they have to be a static class, this does > not help me .. > You s

Re: [Gambas-user] Get the object of a component by name.

2016-02-24 Thread Tobias Boege
On Wed, 24 Feb 2016, Matias De lellis wrote: > >It is a different>matter, though, if Firmata is a graphical control. > >Graphical controls always > >have a name property and you can use a Form's Controls property to search a > >control by name like this: > > > > hMyFirmata = FMain.Controls["Firma

[Gambas-user] Appreciation of gb.web.form

2016-03-15 Thread Tobias Boege
Hi all, I just wanted to note that the still highly experimental (?) component gb.web.form performs very well in one of my projects. The project runs web forms under gb.httpd and has a library which uses the new library mechanism. Pretty straightforward to set up, and fast if you discount compilin

Re: [Gambas-user] Appreciation of gb.web.form

2016-03-19 Thread Tobias Boege
On Wed, 16 Mar 2016, Beno??t Minisini wrote: > Le 15/03/2016 18:40, Tobias Boege a ?crit : > > Hi all, > > > > I just wanted to note that the still highly experimental (?) component > > gb.web.form performs very well in one of my projects. The project runs web > &g

Re: [Gambas-user] How to register and login to the Wiki?

2016-03-19 Thread Tobias Boege
On Wed, 16 Mar 2016, T Lee Davidson wrote: > I used to be able to login to the Wiki (http://gambaswiki.org/). This was > prior to it receiving its new face. > > Now, I cannot login apparently. When I enter my login credentials, I see no > evidence of being logged in and still see the > "Login"

Re: [Gambas-user] Mime component to decode popmessage

2016-03-25 Thread Tobias Boege
On Fri, 25 Mar 2016, Roel Touwen wrote: > Op 24-03-16 om 14:36 schreef Roel Touwen: > > Hi All, > > > > Today I started working with the pop3 component. To display the message > > in (e.g) a webbrowser I have to decode the pop3 message. > > > > In the sample this has not been worked out. Moreover o

Re: [Gambas-user] Repository of GAMBAS programs

2016-04-11 Thread Tobias Boege
On Sun, 10 Apr 2016, T Lee Davidson wrote: > Yes: http://gambaswiki.org/wiki/app > > But, some of the apps are a bit outdated. > > The new repository is the Gambas Farm which is accessible from within the > Gambas IDE in versions, I think, greater than 3.8.X. > (Someone please correct or confir

Re: [Gambas-user] Proposal about Separator

2016-04-13 Thread Tobias Boege
On Wed, 13 Apr 2016, Rolf-Werner Eilert wrote: > That's the point, I like the look without border. What I intended was to > make an optical separation between the list + toolbutton on the left and > the two at the right. > > Or did you mean something else? > I'm also confused how "optical" the

Re: [Gambas-user] Description of symbols as string?

2016-04-28 Thread Tobias Boege
On Thu, 28 Apr 2016, Christof Thalhofer wrote: > Hello, > > If I define in a class: > > > > '' Long description of constant Pink > Public Const Pink as Integer = 1 > > > > Can I get the description ("Long description of ...") as a string within > my program? > I can think of a hack which o

Re: [Gambas-user] Round matematical does not work as xpected

2016-05-19 Thread Tobias Boege
On Thu, 19 May 2016, PICCORO McKAY Lenz wrote: > using Round as noted in wiki, does not works as spected > > if i round Round 2.536 must get 2.54 but only got 2.53 if i specify '2 (for > 2 decimals) > > why or better, how can i made that i want! (2.536 goest to 2.54) > > i must work with decimal

Re: [Gambas-user] method $load , any wiki for explain it ?

2016-06-05 Thread Tobias Boege
On Mon, 06 Jun 2016, zainudin ahmad wrote: > > Is this what you are looking for? > > No > > doing : $ gbc3 -v /tmp/test > > the project contain Main form (without any code). I get the result : > > > Compiling Main.class...

Re: [Gambas-user] What the... Help doesn't show help texts

2016-06-10 Thread Tobias Boege
On Fri, 10 Jun 2016, Rolf-Werner Eilert wrote: > > Am 10.06.2016 08:52, schrieb Rolf-Werner Eilert: > > This morning, the IDE help texts don't show up anymore. > > > > When I type a command, the help texts appear in the small window. But > > when I press F1, I can see the tree on the left, but no

[Gambas-user] Closing Process input stream

2016-06-11 Thread Tobias Boege
Hi, I just tried to feed a Python script to Gimp from within a Gambas project. It didn't really work out that easily because Gimp wants to read the script from standard input (AFAIK it does not recognise a path to the script file). So I have to File.Load the script and Print it to the Gimp process

Re: [Gambas-user] Closing Process input stream

2016-06-11 Thread Tobias Boege
On Sat, 11 Jun 2016, Fabien Bodard wrote: > Le 11 juin 2016 17:29, "Tobias Boege" a écrit : > > > Hi, > > > > I just tried to feed a Python script to Gimp from within a Gambas project. > > It didn't really work out that easily because Gimp wants to r

Re: [Gambas-user] Unable to contact Gambas Buch

2016-06-17 Thread Tobias Boege
On Fri, 17 Jun 2016, Gianluigi wrote: > Inability to contact www.gambas-buch.de :-( > Yes, Hans is doing an (intensive) software upgrade. Two days ago he said he couldn't name a date yet for when the site goes back online. Yesterday came the note that he is 90% done. In any case, the book is not

Re: [Gambas-user] An upside down color chart?

2016-06-28 Thread Tobias Boege
On Tue, 28 Jun 2016, adamn...@gmail.com wrote: > Can anyone help me with this. I am looking for a "reversed" color chart > image. I'll explain.. > pic1 attached shows the generally accepted version of a color chart - which > generally I have absolutely no problemo with. (Its the one from the IDE

Re: [Gambas-user] Why Gambas is packaged in only one tarball without a configure script?

2016-07-15 Thread Tobias Boege
On Thu, 14 Jul 2016, Juan Francisco Cantero Hurtado wrote: > Hi. In the page http://gambaswiki.org/wiki/howto/package , you give some > indications to the packagers. You want one package per component. > > That's okay but I don't understand why are you bundling every component > in one "big" tar

[Gambas-user] Public controls

2016-07-26 Thread Tobias Boege
Hi list, I have a history question. I was told there was quite a debate among contributors to the Gambas-Buch.de, over whether public controls on a form are a good or bad thing. Personally, I'm by experience a fan of information hiding, and IIRC I read a statement of Benoit's where he says that t

[Gambas-user] Use gb.web.form in a web project with not only web forms

2016-07-26 Thread Tobias Boege
Hi Benoit, I have some projects using gb.web.form now and in every of these I have the requirement not only to load webforms but also a webpage or to implement some other URL schema to generate or serve a ressource. As I see it, gb.web.form wants to take complete control over the project's Main()

Re: [Gambas-user] Use gb.web.form in a web project with not only web forms

2016-08-08 Thread Tobias Boege
On Mon, 08 Aug 2016, Benoît Minisini wrote: > Le 26/07/2016 18:26, Tobias Boege a écrit : > > Hi Benoit, > > > > I have some projects using gb.web.form now and in every of these I have the > > requirement not only to load webforms but also a webpage or to implement &

Re: [Gambas-user] instance inline vs declaration and later instanciation

2016-08-18 Thread Tobias Boege
On Thu, 18 Aug 2016, PICCORO McKAY Lenz wrote: > i have a global variable: > > Private varaible As New Collection > > this declaration has a inline instanciation due the keyword "New" in the > same line > > whats the difference if i done as: > > private variable as Collection > > and later ins

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

2016-08-21 Thread Tobias Boege
On Sun, 21 Aug 2016, PICCORO McKAY Lenz wrote: > i have error compiling, agains openssl 0.X not 1.X > > CC gb_openssl_la-main.lo > CC gb_openssl_la-c_digest.lo > c_digest.c: In function ‘get_dlist’: > c_digest.c:51: warning: implicit declaration of function ‘EVP_MD_do_all’ >

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

2016-09-05 Thread Tobias Boege
o hmac crypt, seems its better in the near > > future use polarssl event the openssl that has a long bugs history > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > Once Tobias has committed the patch, you get it in the next stable

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

2016-09-05 Thread Tobias Boege
On Mon, 05 Sep 2016, Benoît Minisini wrote: > Le 05/09/2016 à 17:22, Tobias Boege a écrit : > > > > Two things are preventing me from applying it: > > > > 1. Currently: I have exams and my thesis to do. > > Hope everything goes well! > > > 2. More f

Re: [Gambas-user] some questions around collections copy and collections inside collections

2016-09-06 Thread Tobias Boege
On Tue, 06 Sep 2016, PICCORO McKAY Lenz wrote: > i have a function that returns a collections of collections, named > getPedidogeneral > > i mean, this function returns object coll1 that inside each key is a id of > a object that also are a collection too > > i try to copy the firts to other, i m

Re: [Gambas-user] some questions around collections copy and collections inside collections

2016-09-06 Thread Tobias Boege
On Tue, 06 Sep 2016, Tobias Boege wrote: > Of course, if you know that your Collection only contains Collections, which, > in turn, you are sure only contain primitive data types (which can easily be > deep-copied), then you can, of course, write a deep copy function: > > '&

Re: [Gambas-user] some questions around collections copy and collections inside collections

2016-09-07 Thread Tobias Boege
On Wed, 07 Sep 2016, PICCORO McKAY Lenz wrote: > 2016-09-06 17:10 GMT-04:00 Jussi Lahtinen : > > > Then to correct that you need to create new objects for the new collection. > > > i created new object but the "deep copy" are need as Tobias mention! > > On

Re: [Gambas-user] Christmas gift

2016-09-07 Thread Tobias Boege
On Wed, 07 Sep 2016, Moviga Technologies wrote: > For Christmas this year, I wish for a native RichText component for > Gambas 3.10! :) > Besides some extensions in the OOP department of the language or related syntactic sugar in the compiler, which I can never remember unless I'm confronted wit

Re: [Gambas-user] Christmas gift

2016-09-07 Thread Tobias Boege
On Wed, 07 Sep 2016, Tobias Boege wrote: > On Wed, 07 Sep 2016, Moviga Technologies wrote: > > For Christmas this year, I wish for a native RichText component for > > Gambas 3.10! :) > > > > Besides some extensions in the OOP department of the language or relat

Re: [Gambas-user] [CRASH REPORT] XmlElement.GetAttribute (gb.xml) segfault if the attribute is an empty string

2016-09-13 Thread Tobias Boege
On Tue, 13 Sep 2016, adamn...@gmail.com wrote: > Hello, > > Damned, my program crashed Gambas that way : > > The segfault occurs when I attempt to get the value of the argname attribute > thus: > hAD = New CArgDef > With hAD > .ShortName = hArg.Attributes["shortname"] > .LongName

Re: [Gambas-user] gambas newbie question re custom events

2013-07-19 Thread Tobias Boege
On Fri, 19 Jul 2013, Horst Herb wrote: > I would be most grateful if somebody could point me to a relevant section > of documentation or provide me with a minimal example for my following > problem: > > I have a data model (non-GUI) that wants to emit a custom event (eg > "DataChanged"). Let's say

Re: [Gambas-user] Converting a POST string

2013-07-19 Thread Tobias Boege
On Fri, 19 Jul 2013, Rolf-Werner Eilert wrote: > > > Am 19.07.2013 18:49, schrieb Beno?t Minisini: > > Le 19/07/2013 18:27, Rolf-Werner Eilert a ?crit : > >> > >> > >> Am 19.07.2013 18:02, schrieb Beno?t Minisini: > >>> Le 19/07/2013 17:43, Rolf-Werner Eilert a ?crit : > Hi, > > ju

Re: [Gambas-user] Two problems painting richtext

2013-07-20 Thread Tobias Boege
On Sat, 20 Jul 2013, Beno?t Minisini wrote: > Le 14/07/2013 18:46, Tobias Boege a ?crit : > > Hi, > > > > I want to paint richtext which is: > > > > a) fading in a RadialGradient (black towards transparency) and > > b) centered in a rectangle. > > &

<    1   2   3   4   5   6   7   8   9   10   >