Re: [Gambas-user] Ugly gtk warnings with tabstrip object

2009-04-06 Thread M0E Lnx
I run clearlooks with tango for icons. -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: [Gambas-user] Headache causing misplaced error message.

2009-04-06 Thread Jussi Lahtinen
Thanks!!! Jussi 2009/4/6 Benoît Minisini gam...@users.sourceforge.net: Hi! Here is very simplified example of the bug I found (Gambas 2.10 and Gambas3 rev. 1917). From that you can easily see what is wrong, but in real life code... This bug seems to be generally in else if, error doesn't

Re: [Gambas-user] TextArea scrolling

2009-04-06 Thread Joshua Higgins
Did you find a solution? 2009/4/4 Jussi Lahtinen jussi.lahti...@gmail.com Hi! How I can automatically scroll down textarea? So that the last message printed to textarea is always showing, without user have to scroll down? Regards, Jussi

Re: [Gambas-user] TextArea scrolling

2009-04-06 Thread Jussi Lahtinen
I was just writing about this issue! It turn out to be bug! This works on GTK+, but not with Qt; TextArea1.EnsureVisible() So, if you are using GTK+ you have your solution... If not, you must wait for fix. Jussi On Mon, Apr 6, 2009 at 17:13, Joshua Higgins joshigg...@googlemail.com wrote:

Re: [Gambas-user] TextArea scrolling

2009-04-06 Thread Benoît Minisini
I was just writing about this issue! It turn out to be bug! This works on GTK+, but not with Qt; TextArea1.EnsureVisible() So, if you are using GTK+ you have your solution... If not, you must wait for fix. Jussi It's the contrary: The EnsureVisible() method should not be there. :-)

Re: [Gambas-user] TextArea scrolling

2009-04-06 Thread Benoît Minisini
I was just writing about this issue! It turn out to be bug! This works on GTK+, but not with Qt; TextArea1.EnsureVisible() So, if you are using GTK+ you have your solution... If not, you must wait for fix. Jussi Forget my other mail: the EnsureVisible() method is perfectly valid, but

Re: [Gambas-user] TextArea scrolling

2009-04-06 Thread Jussi Lahtinen
Absolutely nothing happens in Qt, but with GTK+ it works as expected. It works in your system? Jussi 2009/4/6 Benoît Minisini gam...@users.sourceforge.net: I was just writing about this issue! It turn out to be bug! This works on GTK+, but not with Qt; TextArea1.EnsureVisible() So, if

Re: [Gambas-user] Panning a picturebox inside a scrollview with mouse

2009-04-06 Thread Jesus Guardon
Many thanks Steven for your input I have solved this issue using a drawingarea object instead a picturebox. I've stated than it is much less cpu consuming, because the image --a big world map-- I want to show, needs to be updated periodically by other shell command that modifies it with texts

Re: [Gambas-user] Gambas freezes with Qt apps

2009-04-06 Thread Leonardo Miliani
Benoît Minisini ha scritto: kbuildsycoca is a KDE program, so either you have gb.qt.kde selected in your project, or maybe you are using a specific Qt theme that depends on KDE. Do you know what Qt theme is used by your freezing applications on your Ubuntu system? Use the qtconfig

Re: [Gambas-user] Gambas freezes with Qt apps

2009-04-06 Thread Leonardo Miliani
Here is the output of the gdb program. -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leona...@leonardomiliani.com Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunità italiana degli utenti di Gambas www.gambas-it.org

[Gambas-user] Simple file dialog question

2009-04-06 Thread richard terry
If you select a file using a file dialog and get back dialog.path, is there any instant way to ret extract just the file name on the end of a long path without having to do any parsing? thanks Richard -- This SF.net

Re: [Gambas-user] Simple file dialog question

2009-04-06 Thread Benoît Minisini
If you select a file using a file dialog and get back dialog.path, is there any instant way to ret extract just the file name on the end of a long path without having to do any parsing? thanks Richard File.Name(TheLongPath) ? -- Benoît

[Gambas-user] A random sort of listview

2009-04-06 Thread jbskaggs
I came up with a way to random sort listview. (Iuse this for random shuffling card slots on games) But it isnt efficient some pointers if you dont mind? I use two listviews one to sort from and one to sort to: I first copy all the listitems from list 1 to list 2 EXCEPT the key for listview2

Re: [Gambas-user] A random sort of listview

2009-04-06 Thread Simonart Dominique
jbskaggs a écrit : I came up with a way to random sort listview. (Iuse this for random shuffling card slots on games) But it isnt efficient some pointers if you dont mind? I use two listviews one to sort from and one to sort to: I first copy all the listitems from list 1 to list 2

Re: [Gambas-user] A random sort of listview

2009-04-06 Thread Simonart Dominique
Simonart Dominique a écrit : jbskaggs a écrit : I came up with a way to random sort listview. (Iuse this for random shuffling card slots on games) But it isnt efficient some pointers if you dont mind? I use two listviews one to sort from and one to sort to: I first copy all the listitems

Re: [Gambas-user] A random sort of listview

2009-04-06 Thread jbskaggs
using your suggestions and the swap command vs manual swapping this is my code: public b as string 'optional string used to hold the array data for file or split later PUBLIC SUB button4_click() ' initialize array DIM myArray AS Integer[200] DIM a AS Integer DIM i AS Integer FOR i = 0 TO 199