Re: [Gambas-user] TableView issue

2010-09-01 Thread JUHASZ Robert
Benoit,

I just updated to the 2.21 version, revision 3173.
Checking with the previously attached file gives the same behavior :-(

Did I do something wrong with the update or the bug survived ?

Robi

-Original Message-
From: Benoît Minisini gam...@users.sourceforge.net
Reply-to: mailing list for gambas users
gambas-user@lists.sourceforge.net
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Subject: Re: [Gambas-user] TableView issue
Date: Mon, 30 Aug 2010 16:46:13 +0200


  Hello List,
  
  I found a strange behavior of the tableview control. I use Gambas 2.20,
  qt, on ubuntu 10.04.
  
  I try to create an editable table.
  As long as I use only text input, it works fine.
  As long as I use lists or text and list but with unprotected
  (readonly=false, as by default) lists, it works fine. In this case I can
  use the arrows to move up and down, left and right. It is very
  comfortable. As long as I use protected lists (readonly=true) it works
  fine as well, except that I cannot move left and right with the arrows.
  It is less comfortable but still okay.
  
  The problem comes when I use some columns with protected and some others
  with unprotected lists.
  In this case, when I use the arrows for moving horizontally and I move
  from an unprotected cell to a protected one, it crashes the code with an
  error message about the combo box.
  
  If I was not clear then take the attached code, select a cell and move by
  pressing the arrows. The middle column is unprotected.
  
  
  Can someone tell me if it's a bug or what should I do different?
  
  Thx,
  Robi
 
 This was a bug! Can you try the revision #3162 to tell me if it works
 better for you?

No, try revision #3164 instead, it is better. :-)

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Inconsistent initialization in controls: seems a little bug

2010-09-01 Thread Fabián Flores Vadell
I tested this only for control Label:

When a control label is created in execution time using gb.qt, then
control become visible just after assign a value at the Text property:

  PUBLIC SUB _New()

DIM lbl1 AS NEW Label(ME)

lbl1.Text = Hi people

  END

But if you write the same code in a form using gb.gtk, the control
Label keeps invisible until the properties X, Y, Width and Height gets
values.

-- 
Fabián Flores Vadell
www.speedbooksargentina.blogspot.com

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Inconsistent initialization in controls: seems a little bug

2010-09-01 Thread Benoît Minisini
 I tested this only for control Label:
 
 When a control label is created in execution time using gb.qt, then
 control become visible just after assign a value at the Text property:
 
   PUBLIC SUB _New()
 
 DIM lbl1 AS NEW Label(ME)
 
 lbl1.Text = Hi people
 
   END
 
 But if you write the same code in a form using gb.gtk, the control
 Label keeps invisible until the properties X, Y, Width and Height gets
 values.

I'm inclined to prefer the gb.gtk behaviour than the gb.qt one, aren't you?

-- 
Benoît Minisini

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TableView issue

2010-09-01 Thread Benoît Minisini
 Benoit,
 
 I just updated to the 2.21 version, revision 3173.
 Checking with the previously attached file gives the same behavior :-(
 
 Did I do something wrong with the update or the bug survived ?
 
 Robi
 

Are you sure that you recompile things correctly? I have tested with the 
example you provided me.

-- 
Benoît Minisini

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TableView issue

2010-09-01 Thread Benoît Minisini
  Benoit,
  
  I just updated to the 2.21 version, revision 3173.
  Checking with the previously attached file gives the same behavior :-(
  
  Did I do something wrong with the update or the bug survived ?
  
  Robi
 
 Are you sure that you recompile things correctly? I have tested with the
 example you provided me.

Sorry, I didn't see that with gb.gtk there is another problem!

-- 
Benoît Minisini

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TableView issue

2010-09-01 Thread Benoît Minisini
   Benoit,
   
   I just updated to the 2.21 version, revision 3173.
   Checking with the previously attached file gives the same behavior :-(
   
   Did I do something wrong with the update or the bug survived ?
   
   Robi
  
  Are you sure that you recompile things correctly? I have tested with the
  example you provided me.
 
 Sorry, I didn't see that with gb.gtk there is another problem!

Is it better with revision #3174?

-- 
Benoît Minisini

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Your energy

2010-09-01 Thread Dag Jarle Johansen
Hola, Benoit.

this is no mail because of things not happening - this is a mail of
admiretance,
I was a little silent in the last months, because I have to write some
stuff in PHP. Facebook-stuff MS I hate it, but that is money. Plenty. I
really even have to do it, but I see it as a challenge - old guy making
young people happy. 

Now to Gambas - JUST GREAT - in every means - how do manage that? 
How do you at all manage all that mails? You are so fast in everything
you are doing, I am very impressed.

Saludos,
Dag

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Inconsistent initialization in controls: seems a little bug

2010-09-01 Thread Fabián Flores Vadell
2010/9/1 Benoît Minisini gam...@users.sourceforge.net:
 I'm inclined to prefer the gb.gtk behaviour than the gb.qt one, aren't you?

Uhm... when a label is drawed on a form by double clicking on its icon
in the toolbox, the label appears on X=0 Y=0, its Text property is set
to LabelX and its Width adjusts to Text property. I think than this
behavior should be consistent with the initialization that take place
when controls are created by code, too.

I think that if the behavior is consistent, choose by one or another
isn't significant for programmers. But student or begginers may be
keeps in their retinas the behavior that they saw when creating
controls on the form editor, and they expect that the same happens
when they create controls by code.

My preference is to the more intuitive behavior... that seems to me is
the gb.qt.

Thanks for consider my opinion.


-- 
Fabián Flores Vadell
www.speedbooksargentina.blogspot.com

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user