[Gambas-user] Issue 72 in gambas: Installation error with reconf

2011-06-29 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 72 by semin...@gmail.com: Installation error with reconf http://code.google.com/p/gambas/issues/detail?id=72 1) When using reconf and reconf-all, it occurred error at acloc

Re: [Gambas-user] Problem with _unknown (probable bug)

2011-06-29 Thread Benoît Minisini
> Benoit, > > > I think I found a bug with the "_unknown" properties that we've been > discussing. I have an object named CUSTOMER and am using the "_unknown" > method to get at fields in the CUSTOMER object. > > Print Customer.Name > > works, but > > If Customer.Name = "Test" > > fa

[Gambas-user] Problem with _unknown (probable bug)

2011-06-29 Thread Gary D Walborn
Benoit, I think I found a bug with the "_unknown" properties that we've been discussing. I have an object named CUSTOMER and am using the "_unknown" method to get at fields in the CUSTOMER object. Print Customer.Name works, but If Customer.Name = "Test" fails with a "Type Mismatch:".

Re: [Gambas-user] Array of PictureBoxes

2011-06-29 Thread Matti
Take a look at Gambas 3 - Examples - Image - Lighttable. There are arrays of PictureBoxes, Labels and so on. Maybe this could help you? Am 25.06.2011 11:22, schrieb M. Cs.: > I would like to have ability to create an array of PictureBoxes or > Labels, so that I could add and remove them dinamical

Re: [Gambas-user] Dinamic lines

2011-06-29 Thread tobias
hi, >> How to draw a line >> How to draw a text >> How to do it on a printer >> How to do it on a canvas >> How to make lines removable imho, one should be able to figure some of these things out using the doc. i never worked with printer, but answers to 1 and 2 are just where everyone expects t

Re: [Gambas-user] a observer in a form can't catch an event from other class

2011-06-29 Thread Benoît Minisini
> misprint: > > > > 2011/6/29 Fabián Flores Vadell : > > 'Dim aux As ClassA = Object.Class(GameBoard).AutoCreate() > 'Dim aux As ClassA = Object.Class(GameBoard).instance > > (aux is NULL too, obviously) > Can you make a little project for me so that I can test exactly your code? -- Benoît

Re: [Gambas-user] a observer in a form can't catch an event from other class

2011-06-29 Thread Fabián Flores Vadell
misprint: 2011/6/29 Fabián Flores Vadell : 'Dim aux As ClassA = Object.Class(GameBoard).AutoCreate() 'Dim aux As ClassA = Object.Class(GameBoard).instance (aux is NULL too, obviously) >  $obsClassA = New Observer(Object.Class(ClassA).instance) As "obsClassA" > > > and > > >  $obsClassA = New

[Gambas-user] a observer in a form can't catch an event from other class

2011-06-29 Thread Fabián Flores Vadell
Hi everybody. I have this: 'Class A: Singleton Create Static Public Sub _new() If Object.Class(Me).Count > 1 Then Error.Raise("Just use my class name to get access to my members") End Event Change Static Public Sub Main() Me.doSomething End Public Sub doSomething() 'Do something

Re: [Gambas-user] Dinamic lines

2011-06-29 Thread Benoît Minisini
> Hi, > I need a clear explanation how does the printing in G3 works. > All I want is to have a button clicked and afterwards a grid of > changeable number of lines to be drawn over a picture, like some kind > of guides implemented in Inkscape. I know in G3 there are some events > during the printi

[Gambas-user] Dinamic lines

2011-06-29 Thread M. Cs.
Hi, I need a clear explanation how does the printing in G3 works. All I want is to have a button clicked and afterwards a grid of changeable number of lines to be drawn over a picture, like some kind of guides implemented in Inkscape. I know in G3 there are some events during the printing regardles

Re: [Gambas-user] rev 3910: gb.sdl component is disable

2011-06-29 Thread sotema
Did you mean ./reconf-all at svn co? I did it Or what else Le mail ti raggiungono ovunque con BlackBerry® from Vodafone! -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a defin

Re: [Gambas-user] rev 3910: gb.sdl component is disable

2011-06-29 Thread Laurent Carlier
Le Wednesday 29 June 2011 15:46:25, Emanuele Sottocorno a écrit : > Running configure -C on rev 3910 results in gb.sdl component disabled. > In config.log i found : > conftest.c:21:28: error: ac_nonexistent.h: No such file or directory > > SYSOP: Ubuntu 10.10 x86_64 > DE : Gnome > > config.log

Re: [Gambas-user] Seg fault, rev 3903, odbc db selecting... how to...

2011-06-29 Thread Caveat
Thanks Ricardo I just tried back in Gambas2 and got a sig11 I used PRIVATE myDB as NEW Connection ... WITH myDB .Type = "odbc" .Host = "localhost" .Login = "Admin" .Name = "E4Y" END WITH TRY myDB.Open I think it may be time to give up on Gambas (for *this* task) and lo

Re: [Gambas-user] External library variable

2011-06-29 Thread Benoît Minisini
> "I really don't care about the syntax." > But I do! I'm really appreciated with the work of the Gambas team, but > I'd like to express that the synthax is a quite important thing: > 1. Compatibility with G2 projects > 2. Time, a lot of times to spend hunting to find the changes, and the > solutio

Re: [Gambas-user] External library variable

2011-06-29 Thread M. Cs.
"I really don't care about the syntax." But I do! I'm really appreciated with the work of the Gambas team, but I'd like to express that the synthax is a quite important thing: 1. Compatibility with G2 projects 2. Time, a lot of times to spend hunting to find the changes, and the solutions for the m

[Gambas-user] External library variable

2011-06-29 Thread Gary D Walborn
Benoit, You come through again! I really don't care about the syntax. I'm vary pleased that there is a mechanism to do this. I was afraid I'd have to write a wrapper to duplicate the original library calls and add accessor function for the variables. If the system call works, it will save m

Re: [Gambas-user] Issue 71 in gambas: Signal #11

2011-06-29 Thread gambas
Comment #4 on issue 71 by islamph...@gmail.com: Signal #11 http://code.google.com/p/gambas/issues/detail?id=71 still the error there...i upgarded to 2.23 but the error remains... -- All of the data generated in your IT

Re: [Gambas-user] _unknown method with properties

2011-06-29 Thread Benoît Minisini
> Benoit (and all), > > Thank you very much for your reply. I installed Gambas3 and it does, > indeed, handle properties properly with the _unknown method. I shall shift > my development to Gambas3 in the hopes that it will be released before my > project must be released. :-) > > As to m

[Gambas-user] _unknown method with properties

2011-06-29 Thread Gary D Walborn
Benoit (and all), Thank you very much for your reply. I installed Gambas3 and it does, indeed, handle properties properly with the _unknown method. I shall shift my development to Gambas3 in the hopes that it will be released before my project must be released. :-) As to my other question

Re: [Gambas-user] Tabstrip - adding tabs with controls

2011-06-29 Thread Titan Rain
Thank you Benoit. I had set the arrangement property of the tabstrip to fill so I was expecting it to resize the textarea. By switching to the new tab first and assigning a size to the textarea everything works as intended. Thank you again. ---

Re: [Gambas-user] Seg fault, rev 3903, odbc db selecting... how to...

2011-06-29 Thread Ricardo Díaz Martín
Hi Caveat, You can look for Ian Roper in this mailing list. I remember he was to be able to to. go http://sourceforge.net/mailarchive/message.php?msg_id=26630386 Regards, Ricardo Díaz 2011/6/29 Caveat > Hi Rolf, > > Many thanks for the reply. Yes, I do have libmdbodbc installed, and the > md

[Gambas-user] rev 3910: gb.sdl component is disable

2011-06-29 Thread Emanuele Sottocorno
Running configure -C on rev 3910 results in gb.sdl component disabled. In config.log i found : conftest.c:21:28: error: ac_nonexistent.h: No such file or directory SYSOP: Ubuntu 10.10 x86_64 DE : Gnome config.log attached for sdl component sdl_config.log.gz Description: GNU Zip compressed da

Re: [Gambas-user] Seg fault, rev 3903, odbc db selecting... how to...

2011-06-29 Thread Caveat
Hi Rolf, Many thanks for the reply. Yes, I do have libmdbodbc installed, and the mdbtools. The Gnome MDB Viewer I mention is just a kind of GUI wrapper on top of the mdbtools MDB File Viewer, and that is all working fine. I see tables, reports, forms, and macros in the database. I have the mdb

Re: [Gambas-user] Tabstrip - adding tabs with controls

2011-06-29 Thread Benoît Minisini
> I'm trying to use a tabstrip to contain a textarea and other controls. > So far I have the following which checks if a tab exists and if it > doesn't it adds a new tab, and creates a textarea in that tab. > But the textarea is not visible until another tab is created. Any > suggestion as to why?

[Gambas-user] Tabstrip - adding tabs with controls

2011-06-29 Thread Titan Rain
I'm trying to use a tabstrip to contain a textarea and other controls. So far I have the following which checks if a tab exists and if it doesn't it adds a new tab, and creates a textarea in that tab. But the textarea is not visible until another tab is created. Any suggestion as to why? PUBLIC SU

Re: [Gambas-user] Menu over a control

2011-06-29 Thread M. Cs.
OK. I found that I have to put PUBLIC SUB Action_Activate(key as string) AS Boolean in order to get dinamical menus to work. The As Boolean wasn't present in G2. 2011/6/29, tobias : > hi, > > i just installed kubuntu 11.04 yesterday, i couldn't compile gambas3 > with my old ubuntu... > i hope, i c

Re: [Gambas-user] Menu over a control

2011-06-29 Thread tobias
hi, i just installed kubuntu 11.04 yesterday, i couldn't compile gambas3 with my old ubuntu... i hope, i can figure it out at home, if your questions isn't answered then :) -- All of the data generated in your IT infras

Re: [Gambas-user] Issue 69 in gambas: Application.ToolTip.Enable = False fails on gtk+

2011-06-29 Thread gambas
Updates: Status: Fixed Comment #3 on issue 69 by benoit.m...@gmail.com: Application.ToolTip.Enable = False fails on gtk+ http://code.google.com/p/gambas/issues/detail?id=69 The problem has been fixed in revision #3910. The Application.Tooltip property has been removed, because of the

Re: [Gambas-user] Menu over a control

2011-06-29 Thread Rolf-Werner Eilert
Due to technical reasons, I have not worked with Gambas3 yet. So I cannot give you a Gambas3 "real life" example. But I will read the answers of the other guys here to (hopefully) keep in mind once I'll start with it :-) Rolf Am 29.06.2011 10:27, schrieb M. Cs.: > Can you give me a menu examp

Re: [Gambas-user] Seg fault, rev 3903, odbc db selecting... how to...

2011-06-29 Thread Rolf Schmidt
Caveat: ODBC is not the problem. The problem is an odbc driver for mdb-files > The .mdb file has no password set on it. As far as I could see there is a very limited version of the driver available. Do you have "libmdbodbc" installed? Can you access your mdb file with the "MDB File Viewer" i.e

Re: [Gambas-user] Menu over a control

2011-06-29 Thread M. Cs.
Can you give me a menu example for Gambas3, since the Gambas2 way of doing it doesn't work? Thanks 2011/6/29, Rolf-Werner Eilert : > Yes, that would be a problem, but there is LAST to handle this: > > LAST.Tag would give you the tag of the object which was clicked last. > You will identify the cor

Re: [Gambas-user] Menu over a control

2011-06-29 Thread Rolf-Werner Eilert
Yes, that would be a problem, but there is LAST to handle this: LAST.Tag would give you the tag of the object which was clicked last. You will identify the correct type of object by its name of origin "MyText". Now you can insert Public SUB MyText_Click() When you type LAST. you will get the l

Re: [Gambas-user] Menu over a control

2011-06-29 Thread tobias
hi, > If I create TextLabels as you told me, I can get their tags, so I can > identify them, but cannot remove them. oh, of course, you can: LAST.Delete() > if I create them > as a TextLabel[], I can add and remove them, but cannot figure which > one of them has been clicked. How to make both of

Re: [Gambas-user] Menu over a control

2011-06-29 Thread M. Cs.
Thaa,...I've managed to solve this problem, but ran into another: Menus. Once I had simply to create menu with: mymenu=New Menu(FMain) mysub1=New Menu(mymenu) mysub1.Text="Item1" mysub1.Action="Action1" mymenu.popup() And it worked like a charm. Now in G3 it says after the popup there's no return

Re: [Gambas-user] Menu over a control

2011-06-29 Thread M. Cs.
Still I have a problem: If I create TextLabels as you told me, I can get their tags, so I can identify them, but cannot remove them. In other case if I create them as a TextLabel[], I can add and remove them, but cannot figure which one of them has been clicked. How to make both of the option usab