[Gambas-user] gridview autoresize columns width by code

2010-06-23 Thread Ricardo Díaz Martín
Hi all, I wonder if there is a way to auto-resize a column in a grid view by code (the same when you double-cliked on run time to auto-size the width). I always save columns width in database and when form is loading set values for columns width. But now I need in one form to do this like if

Re: [Gambas-user] gridview autoresize columns width by code

2010-06-23 Thread JUHASZ Robert
Hello Ricardo, I use this function to display a result in a TableView. I just copy it as is, you may find out how do I adjust the column width. Maybe not the simplest but works well. For the Boolean I show the picture of a checkbox, I attached if you wanna try the code then add the pictures to

[Gambas-user] Gambas and ssh

2010-06-23 Thread Pablo Ontivero
Hi, i'm trying to make a app for connect to a pc with ssh, i can connect with the other system, but i don't know how to see all the process on a TextArea. PUBLIC conexion AS Process PUBLIC SUB Button1_Click() conexion = SHELL ssh -l javier 192.168.1.92 FOR READ WRITE END PUBLIC SUB

Re: [Gambas-user] Gambas and ssh

2010-06-23 Thread Charlie Reinl
Am Mittwoch, den 23.06.2010, 17:38 +0200 schrieb Pablo Ontivero: Hi, i'm trying to make a app for connect to a pc with ssh, i can connect with the other system, but i don't know how to see all the process on a TextArea. PUBLIC conexion AS Process PUBLIC SUB Button1_Click() conexion =

Re: [Gambas-user] Bug with external libraries

2010-06-23 Thread Jussi Lahtinen
Valgrind doesn't tell much... Does strace, ltrace, or?, logs help you? Jussi On Sun, Jun 20, 2010 at 19:54, Jussi Lahtinen jussi.lahti...@gmail.com wrote: To my surprise this bug seems to need specific earlier conditions. I managed to isolate those conditions, see attachments. Jussi

Re: [Gambas-user] Gambas and ssh

2010-06-23 Thread Rob
On Wednesday 23 June 2010 11:38 am, Pablo Ontivero wrote: Hi, i'm trying to make a app for connect to a pc with ssh, i can connect [...] entablish and after press the button3 the connection close. I'm not sure if when i press the button2 i send the command, but i don't know how to see this.

Re: [Gambas-user] Bug with external libraries

2010-06-23 Thread Jussi Lahtinen
Sorry, I didn't notice new revision! Jussi On Wed, Jun 23, 2010 at 20:50, Jussi Lahtinen jussi.lahti...@gmail.com wrote: Valgrind doesn't tell much... Does strace, ltrace, or?, logs help you? Jussi On Sun, Jun 20, 2010 at 19:54, Jussi Lahtinen jussi.lahti...@gmail.com wrote: To my

Re: [Gambas-user] gridview autoresize columns width by code

2010-06-23 Thread Ricardo Díaz Martín
Thanks Robi for your reply. Look's like a good idea getting max size of a column while you're filling data. It's enough for me. It's also original the way you show booleans into the gridview. About this I usually put a X or a blank depending of value, or sometimes color a fixed colum in red or

Re: [Gambas-user] Gambas and ssh (Pablo Ontivero)

2010-06-23 Thread Pablo Ontivero
Well, thanks for all the answers, i don't have any idea of perl, so i don't know if i was able to make a app with that languaje. The ssh connect entablish with out problem, becouse gambas ask me for the password for the login. but the problem is.. i can't see the process on a TextArea, i

Re: [Gambas-user] Gambas and ssh (Pablo Ontivero)

2010-06-23 Thread Jack
Pablo Ontivero a écrit : Well, thanks for all the answers, i don't have any idea of perl, so i don't know if i was able to make a app with that languaje. The ssh connect entablish with out problem, becouse gambas ask me for the password for the login. but the problem is.. i can't see the