Re: [Gambas-user] Bad Row Index

2012-10-25 Thread Richard Terry
Keith Clark wrote: > I am getting a bad row index in the following code. > > iProductRows = 1 >fProducts = Open "products.dat" For Input > While Not Eof(fProducts) >gvProducts.Rows.Count = iProductRows >Line Input #fProducts, sName >Line Input #fProducts, iLargePr

[Gambas-user] Bad Row Index

2012-10-25 Thread Keith Clark
I am getting a bad row index in the following code. iProductRows = 1 fProducts = Open "products.dat" For Input While Not Eof(fProducts) gvProducts.Rows.Count = iProductRows Line Input #fProducts, sName Line Input #fProducts, iLargePrice Line Input #fProducts,

[Gambas-user] GTK errors

2012-10-25 Thread Keith Clark
I'm getting the following errors when trying to open a new form with a GridView on it. It seems to start whenever I try to set the number of rows. Ubuntu 12.04 ** (SubShopPOS:13153): CRITICAL **: os_bar_hide: assertion `OS_IS_BAR (bar)' failed (SubShopPOS:13153): Gtk-CRITICAL **: IA__gtk_widg

Re: [Gambas-user] Problem with profiling

2012-10-25 Thread Jussi Lahtinen
But this .1.prof file do exist in project root. Should it be in /tmp? Jussi On Thu, Oct 25, 2012 at 11:15 PM, Jussi Lahtinen wrote: > If I try to run with profiling on, I got this after execution: > > > Unable to load profile file: .1.prof > > FProfile.Init.364: Null object > > > > Jussi > ---

[Gambas-user] Problem with profiling

2012-10-25 Thread Jussi Lahtinen
If I try to run with profiling on, I got this after execution: Unable to load profile file: .1.prof FProfile.Init.364: Null object Jussi -- Everyone hates slow websites. So do we. Make your web apps faster with AppDyn

Re: [Gambas-user] Tab Strip

2012-10-25 Thread Keith Clark
On 12-10-25 03:21 PM, Keith Clark wrote: > I'm using a TabStrip for the first time and not understanding it 100% yet. > > I've created one with 5 tabs on it. I noticed that if I shrink the > control, there is another 'red outlined' frame behind it. In fact, > there are 3 more. If I shrink the fi

Re: [Gambas-user] Issue 341 in gambas: Starting previous running app: Bad event handler in FForm.Control_Draw()

2012-10-25 Thread gambas
Updates: Status: NeedsInfo Comment #1 on issue 341 by benoit.m...@gmail.com: Starting previous running app: Bad event handler in FForm.Control_Draw() http://code.google.com/p/gambas/issues/detail?id=341 Can you provide the full project?

Re: [Gambas-user] Issue 340 in gambas: Seg Fault 11 when re-sizing FileChooser

2012-10-25 Thread gambas
Updates: Status: NeedsInfo Labels: -Version3.3.3 Version-3.3.0 Comment #1 on issue 340 by benoit.m...@gmail.com: Seg Fault 11 when re-sizing FileChooser http://code.google.com/p/gambas/issues/detail?id=340 Please provide a full test project. ---

Re: [Gambas-user] Issue 339 in gambas: DataSource.Table does not read tables with non-lowercase names (PostgreSQL)

2012-10-25 Thread gambas
Updates: Status: Fixed Labels: -Version Version-3.3.0 Comment #1 on issue 339 by benoit.m...@gmail.com: DataSource.Table does not read tables with non-lowercase names (PostgreSQL) http://code.google.com/p/gambas/issues/detail?id=339 It should have been fixed in revision #5250.

[Gambas-user] Tab Strip

2012-10-25 Thread Keith Clark
I'm using a TabStrip for the first time and not understanding it 100% yet. I've created one with 5 tabs on it. I noticed that if I shrink the control, there is another 'red outlined' frame behind it. In fact, there are 3 more. If I shrink the first red frame, it will eventually start to hide

Re: [Gambas-user] Problem of searching string

2012-10-25 Thread Benoît Minisini
Le 21/10/2012 02:10, Mohamed Hajjaj a écrit : > Dear Mr. Benoit, > > Thank you for your prompt reply. > > I will try to explain my problem as you suggest through example(but I > have to attach small Arabic file to you to see the problem because it is > not appear with Latin letters. > > what is the

[Gambas-user] Issue 341 in gambas: Starting previous running app: Bad event handler in FForm.Control_Draw()

2012-10-25 Thread gambas
Status: New Owner: Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Linux Dist-Ubuntu Arch-X86 Desktop-Gnome GUI-Any New issue 341 by marcobra...@gmail.com: Starting previous running app: Bad event handler in FForm.Control_Draw() http://code.google.com/p/gambas/issues/detail?id=341 1

Re: [Gambas-user] Problem using ListContainer object

2012-10-25 Thread Benoît Minisini
Le 25/10/2012 18:31, Olivier Cruilles a écrit : > Hello Benoit, > > Did you receive my email in the french tread about this problem because I'm > not sure ? > > Thank's in advance. > > Cordialement, > > Olivier Cruilles > Mail: linu...@club-internet.fr > Yes. -- Benoît Minisini ---

[Gambas-user] Problem using ListContainer object

2012-10-25 Thread Olivier Cruilles
Hello Benoit, Did you receive my email in the french tread about this problem because I'm not sure ? Thank's in advance. Cordialement, Olivier Cruilles Mail: linu...@club-internet.fr -- Everyone hates slow websites. S

Re: [Gambas-user] trigonometric function

2012-10-25 Thread Benoît Minisini
Le 25/10/2012 17:44, p...@laur-net.de a écrit : > > > Hi, > > I just got a mathematic problem: > > I need the angle alpha and > x and y are given. > > tan(alpha) = x / y > > so alpha = tan^-1(x/y) > > As I > put tan^-1(x/y) in my own calculator, it works. > > But how do I express > this in Gambas?

Re: [Gambas-user] trigonometric function

2012-10-25 Thread Caveat
You want inverse tangent then? Tried atn? Kind regards, Caveat On 25/10/12 17:44, p...@laur-net.de wrote: > > > Hi, > > I just got a mathematic problem: > > I need the angle alpha and > x and y are given. > > tan(alpha) = x / y > > so alpha = tan^-1(x/y) > > As I > put tan^-1(x/y) in my own c

[Gambas-user] trigonometric function

2012-10-25 Thread piet
Hi, I just got a mathematic problem: I need the angle alpha and x and y are given. tan(alpha) = x / y so alpha = tan^-1(x/y) As I put tan^-1(x/y) in my own calculator, it works. But how do I express this in Gambas? (1 / (tan(x / y)) does'nt return me the same awnser..) Thanks for

[Gambas-user] Read image from stdin

2012-10-25 Thread Gregor Burck
Hi, I want to create an barcode with a shell tool which write to stdout. These should be read and displayed. How could I read the stream to an image? Is this possible? Bye Gregor -- -- Everyone hates slow websites.

Re: [Gambas-user] Printing, don't see my mistake

2012-10-25 Thread Fabien Bodard
2012/10/25 Gregor Burck : > Hi, > > I don't understand how to print in gambas3. Even when I look at the example I > don't find my mistake, I got always a blank page: > > Public Sub AnsichtDrucken() > > If prt.Configure() Then Return > > Me.Enabled = False > Inc Application.Busy > prt.Print >

[Gambas-user] Printing, don't see my mistake

2012-10-25 Thread Gregor Burck
Hi, I don't understand how to print in gambas3. Even when I look at the example I don't find my mistake, I got always a blank page: Public Sub AnsichtDrucken() If prt.Configure() Then Return Me.Enabled = False Inc Application.Busy prt.Print Dec Application.Busy Me.Enabled = True End