Re: [Gambas-user] More on Print bugs.

2011-01-01 Thread Michael
Sorry about forgetting your previous advice. I moved house and was off air for 10 days. This problem is not unique to Gambas. Various other apps have the same problem and have been reported. Evince and Gimp overcome it by using the GTK+ "GtkPageSetupUnixDialog". I'm not sure how they then pass

Re: [Gambas-user] Code snippet questions

2011-01-01 Thread EA7DFH
El 02/01/11 00:13, richard terry escribió: > Hi List > > Could someone explain to me how code snippets work/are used. > > I note you can access them and add new snippets and a trigger word. > > How does one then get back the code in the IDE > > Also Benoit, it would be really nice to have menu

[Gambas-user] code for VB button control array hangs program

2011-01-01 Thread Zach Smith
Add a button to a program and modify code to read: Public Sub Button1_Click(index As Integer) End If you try to run the program, nothing happens and the problem line is not identified. This may happen if you import VB code and don't realize control arrays are not allowed. There are 2 Stack backt

[Gambas-user] break points - removing question

2011-01-01 Thread richard terry
Hi Benoit, Is there any way you could insitute removing breakpoints other than those in the current routine which we already can? sometimes I put in a breakpoint to check something, then having validated things are ok, want it removed so the program execution continues past this next time, but

[Gambas-user] Code snippet questions

2011-01-01 Thread richard terry
Hi List Could someone explain to me how code snippets work/are used. I note you can access them and add new snippets and a trigger word. How does one then get back the code in the IDE Also Benoit, it would be really nice to have menu option on the IDE menu which when you swipe a section of co

Re: [Gambas-user] Gambas3 Help Window

2011-01-01 Thread Michael
I had the same problem but in Ubuntu 10.10 you can overcome it by holding down the 'special' key.(IE The Windows key on my keyboard between CTRL and ALT) and clicking the help window anywhere. You don't need to click the window header. I think this feature was added to the last Gnome release R

Re: [Gambas-user] Gambas3 complains about gb.settings

2011-01-01 Thread Benoît Minisini
> i converted a project from Gambas2 to Gambas3. > But Gambas3 complains about gb.settings. > > i have never used this component for this project. > If i go to components dialog it is clicked and i cant unmark it. > > if i add in .project file the line > Component=gb.settings it works. It is a n

Re: [Gambas-user] Gambas3 Help Window

2011-01-01 Thread Benoît Minisini
> In my machine F1 or Help from IDE shows a window in the very top > position of screen. > > The window is impossible to catch it and move it on screen. > > So i cant use it. > > i opened the Gambas app and i found that FHelpBrowser.class read the > settings. > > It would be nice if > FHelpBrow

Re: [Gambas-user] More on Print bugs.

2011-01-01 Thread Zach Smith
2011/1/1 Benoît Minisini : > Can somebody else confirm that "Page size" and "Orientation" are not disabled > anymore on their GTK+ printer configuration dialog? It works with gambas3 rev. 3416, Arch. -- Learn how Oracle R

Re: [Gambas-user] Embedder example

2011-01-01 Thread Benoît Minisini
> Good evening Benoît, > > i forward a mail to you my teacher sent me. he wants to be introduced to > you first... so, his name is Dr. Hans Lehmann and he is writing a book > about gambas. i would send you the table of contents if you are > interested and the dokuwiki page is at www.gambas-projekt

Re: [Gambas-user] gambas3 deb file error

2011-01-01 Thread Benoît Minisini
> hello, > > for every svn i get from Gambas svn i make a deb file with checkinstall > so to be easy the install/uninstall procedure of Gambas. > > i got the Gambas3-svn3418 and checkinstall made successfully a deb file. > But during install i got the following error. > > - > Unpacking g

Re: [Gambas-user] Some new features in Gambas 3

2011-01-01 Thread Kevin Fishburne
On 01/01/2011 11:34 AM, Benoît Minisini wrote: >>> 2) A new set of native functions named Mk$() to create a string from >>> the >>> memory representation of a value. For example, MkShort$(1234) returns >>> Chr$(210)& Chr$(4) (on a little endian machine). >> I'm updating GambasTester to handle new

Re: [Gambas-user] Label.Resize in Picture1_MouseMove

2011-01-01 Thread Fabien Bodard
2011/1/1 Demosthenes Koptsis : > Do you suggest to use the DrawingArea instead PictureBox? > > As i see the draw event is in DrawingArea only. yes ... that what i suggest... as the way i use is more powerfull and that way you can add all feature you want. > My intension is not to draw something.

Re: [Gambas-user] BUG: Textlabel contents not displaying when value changes from ""

2011-01-01 Thread Benoît Minisini
> I'm using a Textlabel with Transparent = True. This displays a > numeric value that can change while the program is being used. If the > value is zero, it displays nothing (.text = ""). > > The problem is that if the control has no .text value, and is then > given one, it does not display. If

Re: [Gambas-user] Label.Resize in Picture1_MouseMove

2011-01-01 Thread Demosthenes Koptsis
Do you suggest to use the DrawingArea instead PictureBox? As i see the draw event is in DrawingArea only. My intension is not to draw something. i want to resize an object with transparency and border (as Label) and after to use its X,Y, Width, Height in Image.Copy object. On Sat, 2011-01-01 a

Re: [Gambas-user] Label.Resize in Picture1_MouseMove

2011-01-01 Thread Fabien Bodard
2011/1/1 Fabien Bodard : > label is not the only solution ... this is how I manage the box > selection on many program. > > You need to use more the draw event and think like with a game > refresh all composed image on move :) > > Gambas work that way. > > 2011/1/1 Demosthenes Koptsis : >> hell

Re: [Gambas-user] Label.Resize in Picture1_MouseMove

2011-01-01 Thread Fabien Bodard
label is not the only solution ... this is how I manage the box selection on many program. You need to use more the draw event and think like with a game refresh all composed image on move :) Gambas work that way. 2011/1/1 Demosthenes Koptsis : > hello, > > i converted my Mini Image Editor (

Re: [Gambas-user] time measure milliseconds ?

2011-01-01 Thread Benoît Minisini
> Is there a possibility to make DateDiff return msec ? > Done in revision #3420. Use the new gb.Millisecond constant. Regards, -- Benoît Minisini -- Learn how Oracle Real Application Clusters (RAC) One Node allows cu

Re: [Gambas-user] Some new features in Gambas 3

2011-01-01 Thread Benoît Minisini
> > 2) A new set of native functions named Mk$() to create a string from > > the > > memory representation of a value. For example, MkShort$(1234) returns > > Chr$(210) & Chr$(4) (on a little endian machine). > > I'm updating GambasTester to handle new commands and features. > > And I don't quite

Re: [Gambas-user] Gambas3 Help Window

2011-01-01 Thread Dag-Jarle Johansen
good 2011/1/1 Fabien Bodard > 2011/1/1 Demosthenes Koptsis : > > In my machine F1 or Help from IDE shows a window in the very top > > position of screen. > > > > The window is impossible to catch it and move it on screen. > use alt + mouse drag (leftmousedown+move) to move the windows (X > triks

Re: [Gambas-user] DataControls with Visible = False

2011-01-01 Thread Benoît Minisini
>Gambas 3 rev. 3390 >I tried to make a data-bound form the lazy way, without SQL commands. > Just a DataSource with some DataControls in it. >Works fine. >Then, for better layout of the form, I gave the values of the > DataControls to TextLabels, Buttons and so on. >Works also.

[Gambas-user] Happy New Year

2011-01-01 Thread Dag-Jarle Johansen
To all of you, incredible good programmers, a happy 2011 Regards, Dag-Jarle -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environ

Re: [Gambas-user] Gambas3 Help Window

2011-01-01 Thread Fabien Bodard
2011/1/1 Demosthenes Koptsis : > In my machine F1 or Help from IDE shows a window in the very top > position of screen. > > The window is impossible to catch it and move it on screen. use alt + mouse drag (leftmousedown+move) to move the windows (X triks) by catching it on every part of the windows

Re: [Gambas-user] Using a timer and Last

2011-01-01 Thread Benoît Minisini
> richard terry ha scritto: > > Hi List > > > > I've a couple of timers on different forms, which I need to auto-update > > some stuff periodically. > > > > What's the theory with Last and timers. > > > > for example say my program is executing a subroutine which uses Last, but > > at that insta

[Gambas-user] Gambas3 complains about gb.settings

2011-01-01 Thread Demosthenes Koptsis
i converted a project from Gambas2 to Gambas3. But Gambas3 complains about gb.settings. i have never used this component for this project. If i go to components dialog it is clicked and i cant unmark it. if i add in .project file the line Component=gb.settings it works. -- Regards, Demosthenes

[Gambas-user] Label.Resize in Picture1_MouseMove

2011-01-01 Thread Demosthenes Koptsis
hello, i converted my Mini Image Editor (demostration of Image class) to Gambas3 at ubuntu 10.04 machine. i want to simulate a selection box tool for an image. For this i made something not so professional but i think i found something. For the selection of image area i use a label as gui with

[Gambas-user] Gambas3 Help Window

2011-01-01 Thread Demosthenes Koptsis
In my machine F1 or Help from IDE shows a window in the very top position of screen. The window is impossible to catch it and move it on screen. So i cant use it. i opened the Gambas app and i found that FHelpBrowser.class read the settings. It would be nice if FHelpBrowser had a ME.Center or

[Gambas-user] gambas3 deb file error

2011-01-01 Thread Demosthenes Koptsis
hello, for every svn i get from Gambas svn i make a deb file with checkinstall so to be easy the install/uninstall procedure of Gambas. i got the Gambas3-svn3418 and checkinstall made successfully a deb file. But during install i got the following error. - Unpacking gambas3 (from .../gam

Re: [Gambas-user] Using a timer and Last

2011-01-01 Thread Doriano Blengino
richard terry ha scritto: > Hi List > > I've a couple of timers on different forms, which I need to auto-update some > stuff periodically. > > What's the theory with Last and timers. > > for example say my program is executing a subroutine which uses Last, but at > that instance the timer fires a

Re: [Gambas-user] Images and Pictures

2011-01-01 Thread Demosthenes Koptsis
Actually i had read the docs, i translated also... (but may be i have a bug in understand them, i dont know...) anyway... so i cant do something like that > hImage.Load(Application.Path & "/nature.png") but i could not find a way to > hImage = Image.Load(Application.Path &/ "nature.png") Today i