Re: [Gambas-user] Feature request: Make 'Pointer' a true integer type

2014-05-08 Thread Benoît Minisini
Le 27/04/2014 10:14, Bruno Félix Rezende Ribeiro a écrit : > Hello again! > > It'd be very handy if 'Pointer' was considered by the interpreter as an > integer data type like 'Byte', 'Short', 'Integer' and 'Long'. That way > one could use any integer function indiscriminately on a Pointer as > well

Re: [Gambas-user] Valuebox. Property ReadOnly doesn't work?

2014-05-08 Thread Benoît Minisini
Le 27/04/2014 00:48, Francisco Martinez a écrit : > Hi buddies. > > In running mode. I see that ValueBox's ReadOnly property is True, but I > can write inside. It is a bug?. > > I'm using the development version: > 3.5.99.1+svn20140424+build51~ubuntu12.10.1 > > Thanks > Please provide a little sa

[Gambas-user] New Syntax, SUPER && !comprehension(mine) Re.: SUPER example at gambasdoc

2014-05-08 Thread Stephen
Looking at the thread "New syntax for using variables arguments in a function call" I realized that I needed to really brush up on my somewhat marginal understanding of the evolving (a good thing) GAMBAS and OOP. Not fully understanding "SUPER" (I've never used it but can see a use for it) I

Re: [Gambas-user] New Syntax, SUPER && !comprehension(mine) Re.: SUPER example at gambasdoc

2014-05-08 Thread Tobias Boege
On Thu, 08 May 2014, Stephen wrote: >Looking at the thread "New syntax for using variables arguments in a > function call" I realized that I needed to really brush up on my > somewhat marginal understanding of the evolving (a good thing) GAMBAS > and OOP. Not fully understanding "SUPER" (I'v

Re: [Gambas-user] New Syntax, SUPER && !comprehension(mine) Re.: SUPER example at gambasdoc

2014-05-08 Thread Benoît Minisini
Le 08/05/2014 15:00, Stephen a écrit : > Looking at the thread "New syntax for using variables arguments in a > function call" I realized that I needed to really brush up on my > somewhat marginal understanding of the evolving (a good thing) GAMBAS > and OOP. Not fully understanding "SUPER" (I'

Re: [Gambas-user] New Syntax, SUPER && !comprehension(mine) Re.: SUPER example at gambasdoc

2014-05-08 Thread B Bruen
On Thu, 08 May 2014 09:00:38 -0400 Stephen wrote: >Looking at the thread "New syntax for using variables arguments in a > function call" I realized that I needed to really brush up on my > somewhat marginal understanding of the evolving (a good thing) GAMBAS > and OOP. Not fully understand

Re: [Gambas-user] Calling external function by pointer

2014-05-08 Thread Bruno Félix Rezende Ribeiro
Em Wed, 07 May 2014 21:36:04 +0200 Benoît Minisini escreveu: > Le 07/05/2014 20:43, Bruno Félix Rezende Ribeiro a écrit : > > Em Wed, 07 May 2014 19:32:46 +0200 > > Benoît Minisini escreveu: > > > >> I'm afraid this is not possible, because the FFI library used by > >> Gambas must know the signa

Re: [Gambas-user] Feature request: Make 'Pointer' a true integer type

2014-05-08 Thread Bruno Félix Rezende Ribeiro
Em Thu, 08 May 2014 14:25:33 +0200 Benoît Minisini escreveu: > Pointer are already automatically converted to integers or longs. > What do you need to do exactly? This problem arose when I tried to use some bit manipulation functions over pointers and get caught by an error. The very simple cod

Re: [Gambas-user] Report and Settings

2014-05-08 Thread Roki
First, thank Randall for rapid response. You're right, here's my explanation of the problem. I did a project to record the vehicles that are registered in our company. I use mysql database in background. From the Component tab, I checked (gb.db.mysql, gb.report and gb.settings) because I needed

Re: [Gambas-user] Wrapping methods which accept optional arguments

2014-05-08 Thread Benoît Minisini
Le 16/04/2014 03:21, Bruno Félix Rezende Ribeiro a écrit : > Hello Again! > > Suppose we are overriding the class 'Array' to add the event 'Update' > which will be raised after the completion of any method which could > possibly modify the array structure. We start by the 'Remove' method > which h

[Gambas-user] My appreciation and thanks

2014-05-08 Thread Jb Skaggs
I started using Gambas in 2007 / 08 and quit in 2010 becuase of job changes and going to windows only systems I lost much of what I had learned. But I just picked Gambas again and running it on Linux Mint. To Benoit and the rest I want to say thanks for working on this project for so many years.

Re: [Gambas-user] Calling external function by pointer

2014-05-08 Thread Tobias Boege
On Thu, 08 May 2014, Bruno F??lix Rezende Ribeiro wrote: > Em Wed, 07 May 2014 21:36:04 +0200 > Beno??t Minisini escreveu: > > > Le 07/05/2014 20:43, Bruno F??lix Rezende Ribeiro a ??crit : > > > Em Wed, 07 May 2014 19:32:46 +0200 > > > Beno??t Minisini escreveu: > > > > > >> I'm afraid this is

Re: [Gambas-user] Report and Settings

2014-05-08 Thread Jussi Lahtinen
How that method "Preview" is defined? If you cannot show more code, then can you isolate this problem in small runnable project you could send to us? Jussi On Thu, May 8, 2014 at 5:54 PM, Roki wrote: > First, thank Randall for rapid response. You're right, here's my > explanation of the probl

Re: [Gambas-user] BUG : IDE Crash when opening a Form in my Project

2014-05-08 Thread Benoît Minisini
Le 06/05/2014 08:36, Christian Fitzner a écrit : > Hi, > > first, i want to say thank you for the great programming tool ! > > > Unfortunately I have a problem whith the IDE. When i open a Form then i > get : > > CFamily.DrawIcon.260: Unable to load image > > The output of GB_STOCK=debug gambas3 :

Re: [Gambas-user] Calling external function by pointer

2014-05-08 Thread Bruno Félix Rezende Ribeiro
Em Thu, 8 May 2014 18:41:13 +0200 Tobias Boege escreveu: > I understand if you want to be able to do all the things in pure > Gambas but for that, new syntaxes must be created and I can't imagine > how those could fit into the existing Basic language elements... That's the whole point of this.

Re: [Gambas-user] Calling external function by pointer

2014-05-08 Thread Jussi Lahtinen
> In my view, while programming components, we should only resort to C(++) > language for > speed, not functionality. I agree. It would be great to enhance Gambas compatibility with external libs. However it might be question of balance. Some features may require a lot of work while they would be

Re: [Gambas-user] Calling external function by pointer

2014-05-08 Thread Benoît Minisini
Le 08/05/2014 19:38, Bruno Félix Rezende Ribeiro a écrit : > Em Thu, 8 May 2014 18:41:13 +0200 > Tobias Boege escreveu: > >> I understand if you want to be able to do all the things in pure >> Gambas but for that, new syntaxes must be created and I can't imagine >> how those could fit into the exi

Re: [Gambas-user] Report and Settings

2014-05-08 Thread Randall Morgan
I've found that this error can sometimes be traced to an object property that has not been initialized. But there can be other reasons as well. So a simple project that can show how you initialize the components and use them and that reproduces the error would help a great deal. On Thu, May 8,

Re: [Gambas-user] Report and Settings

2014-05-08 Thread Fabien Bodard
Well its an error in gb.report Preview use gb.setting for storing last user preference when gb.setting is used in the user project. I need to find what goes wrong. Le 8 mai 2014 18:55, "Jussi Lahtinen" a écrit : > How that method "Preview" is defined? > If you cannot show more code, then can you

Re: [Gambas-user] Calling external function by pointer

2014-05-08 Thread Bruno Félix Rezende Ribeiro
Em Thu, 08 May 2014 20:30:13 +0200 Benoît Minisini escreveu: > If The Gambas GUI components were just direct calls to the GTK+ or Qt > API, how many Gambas programmers would have been able to write a GUI > program? Not a lot I guess. Yeah, may be. > But your goal of making a 1 to 1 interface

[Gambas-user] Form Type Panel (gb.desktop)

2014-05-08 Thread herberth guzman
Thanks Beno? t Minisini for answering my email and for suggesting the link http://standards.freedesktop.org freedesktop theme is very broad but from what I read to be needed to make the panel: gb.desktop support for: _NET_WM_STRUT(CARDINAL) = 0, 0, 0, 32 (border_panel) _NET_WM_STRUT= left, right

[Gambas-user] Somes question about Gambas 3

2014-05-08 Thread Olivier Cruilles
Hi Benoit, 1) In the Editor object in Gambas3, it is possible to activate the Wrap word like in a TextArea or not please ? 2) Since you rewrite the GridView object in Gambas, to insert in a lot of line inside, it to much more time than before. Example: - Before: for ~5000 elements: lower than

[Gambas-user] Timer Error: QTimer can only be used with threads started with QThread

2014-05-08 Thread Randall Morgan
Hi Folks, I'm creating a simple component that requires two timers. The component uses gb.qt4. However, anytime I use the timers I get this error: QTimer can only be used with threads started with QThread. Any ideas how to solve this? I am running Ubuntu 12.04 with latest updates. [System] Gam