Re: [Gambas-user] TreeView item focus

2009-08-23 Thread Ron_1st
On Saturday 22 August 2009, Jean-Yves F. Barbier wrote: Fabien Bodard a écrit : you can do that by hand ! no ? in TreeView_Expand() May be, I'm gonna dig this possibility (I don't already know all about widgets, so I still miss some skills) But @ first glance I don't know what

Re: [Gambas-user] TreeView item focus

2009-08-23 Thread Jean-Yves F. Barbier
Fabien Bodard a écrit : you can do that by hand ! no ? in TreeView_Expand() Last.Item.Selected=true Ok Fabien, thanks it is working :) but I didn't find any reference to that in the documentation: even a grep didn't return anything:( grep -R Last.Item /usr/share/gambas2/help/help/* =

Re: [Gambas-user] TreeView item focus

2009-08-23 Thread Laurent Carlier
Le dimanche 23 août 2009 14:24:35 Jean-Yves F. Barbier, vous avez écrit : Fabien Bodard a écrit : you can do that by hand ! no ? in TreeView_Expand() Last.Item.Selected=true Ok Fabien, thanks it is working :) but I didn't find any reference to that in the documentation: even a

Re: [Gambas-user] TreeView item focus

2009-08-23 Thread Jean-Yves F. Barbier
Laurent Carlier a écrit : ... I can learn quite fast, but not out of nowhere. JY Perhaps here: http://64.128.110.55/help/lang/last Returns a reference to the object that raised the last event yaah: on the site, but NOT existant into the package's docs :( --

Re: [Gambas-user] gambas2-2.15.2 and Ubuntu 9.04 compile errors

2009-08-23 Thread Charlie Reinl
Am Sonntag, den 23.08.2009, 01:34 +0200 schrieb Benoît Minisini: Hi, i try to install gambas2-2.15.2 in Ubuntu 9.04. i get these errors... make[5]: Entering directory `/home/user/Downloads/gambas2-2.15.2/main/libltdl' /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H

Re: [Gambas-user] TreeView item focus

2009-08-23 Thread Ron_1st
On Sunday 23 August 2009, Jean-Yves F. Barbier wrote: Fabien Bodard a écrit : you can do that by hand ! no ? in TreeView_Expand() Last.Item.Selected=true Ok Fabien, thanks it is working :) but I didn't find any reference to that in the documentation: even a grep didn't

Re: [Gambas-user] CheckBox_MouseUp huge PB

2009-08-23 Thread Jean-Yves F. Barbier
Jean-Yves F. Barbier a écrit : Hi list, In my application I use CheckBoxes to displayset|unset individual rights from a database. When I check|uncheck one, the corresponding xxx_MouseUp() is directly issuing an SQL request to GRANT|REVOKE the corresponding right. However, for some

Re: [Gambas-user] workspace, but without the tabs?

2009-08-23 Thread Fabien Bodard
then the embedded form act itself as a container ... so you can have the Left, Top values, and the width, height, 2009/8/23 Joshua Higgins joshigg...@googlemail.com: I figured it out  DIM hForm AS FChild  hForm = NEW FChild(Panel1) Thanks Fabien ! -- joshua higgins --

Re: [Gambas-user] CheckBox_MouseUp huge PB

2009-08-23 Thread Fabien Bodard
it seem that the click event is send after the .value setting... but the MouseUp before. why did you not use the click event ? 2009/8/23 Jean-Yves F. Barbier 12u...@gmail.com: Jean-Yves F. Barbier a écrit : Hi list, In my application I use CheckBoxes to displayset|unset individual rights

Re: [Gambas-user] CheckBox_MouseUp huge PB

2009-08-23 Thread Jean-Yves F. Barbier
Fabien Bodard a écrit : it seem that the click event is send after the .value setting... but the MouseUp before. why did you not use the click event ? I don't use it because it is raised after the .Value has changed and I need to be able to forbid any change in some conditions. --

Re: [Gambas-user] CheckBox_MouseUp huge PB

2009-08-23 Thread Fabien Bodard
Public Sub CheckBox1_MouseUp() If not Last.Value and ItIsNotGood then Stop Event End You need to take in mind that the value is changed after the mouseup event ... 2009/8/23 Jean-Yves F. Barbier 12u...@gmail.com: Fabien Bodard a écrit : it seem that the click event is send after the

Re: [Gambas-user] TreeView print events chain

2009-08-23 Thread Fabien Bodard
??? more clearly ? 2009/8/22 Jean-Yves F. Barbier 12u...@gmail.com: Hi list, In order to solve some PBs, I want to print the whole chain of events in console when I click on a leaf or expand/develop it; is this possible? JY -- The difference between graffiti and philosophy is the word

Re: [Gambas-user] TreeView print events chain

2009-08-23 Thread Fabien Bodard
note: this is not english 2009/8/23 Fabien Bodard gambas...@gmail.com: ??? more clearly ? 2009/8/22 Jean-Yves F. Barbier 12u...@gmail.com: Hi list, In order to solve some PBs, I want to print the whole chain of events in console when I click on a leaf or expand/develop it; is this

Re: [Gambas-user] TreeView print events chain

2009-08-23 Thread Jean-Yves F. Barbier
Fabien Bodard a écrit : ??? more clearly ? something like a trace (NOT a tire trace:): event = Enter event = MouseUp event = MouseDown event = Click event if you're thirsty, I remember you that there's no beer in the fridge... but without passing through the aforementionned procs; but I guess

Re: [Gambas-user] TreeView print events chain

2009-08-23 Thread Laurent Carlier
Le dimanche 23 août 2009 22:36:08 Jean-Yves F. Barbier, vous avez écrit : Fabien Bodard a écrit : ??? more clearly ? something like a trace (NOT a tire trace:): event = Enter event = MouseUp event = MouseDown event = Click event if you're thirsty, I remember you that there's no beer in

Re: [Gambas-user] CheckBox_MouseUp huge PB

2009-08-23 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : Fabien Bodard a écrit : it seem that the click event is send after the .value setting... but the MouseUp before. why did you not use the click event ? I don't use it because it is raised after the .Value has changed and I need to be able to forbid any change in

Re: [Gambas-user] CheckBox_MouseUp huge PB

2009-08-23 Thread Benoît Minisini
Benoît Minisini a écrit : ... If you really have to make a difference between a change coming from the application and a change coming from the user, then use a boolean flag, like bIgnoreClickEvent, that you set explicitely when needed. May be that's a solution. Now I know which order

Re: [Gambas-user] TreeView print events chain

2009-08-23 Thread Jean-Yves F. Barbier
Laurent Carlier a écrit : ... Perhaps you can do that with the Observer: http://64.128.110.55/help/comp/gb/observer Hey, that one's nice, and might be my answer, thanks! JY -- No problem is insoluble. -- Dr. Janet Wallace, The Deadly Years, stardate 3479.4

Re: [Gambas-user] CheckBox_MouseUp huge PB

2009-08-23 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : Benoît Minisini a écrit : ... If you really have to make a difference between a change coming from the application and a change coming from the user, then use a boolean flag, like bIgnoreClickEvent, that you set explicitely when needed. May be that's a solution.

[Gambas-user] Database Manager at Gambas 2.15

2009-08-23 Thread Angel Romero Astorga
Hi all I have installed Gambas on my PC at Xubuntu 8.04. All Gambas run ok, but... when I click at the menu to open Database Manager, it don't open. ¿Why? Thanks PD: Sorry, my english is very bad -- Let Crystal Reports