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
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/* =
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
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 :(
--
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
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
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
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
--
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
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.
--
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
??? 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
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
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
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
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
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
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
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.
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
20 matches
Mail list logo