Re: [Gambas-user] CheckBox_MouseUp huge PB - oops

2009-08-22 Thread Jean-Yves F. Barbier
Jean-Yves F. Barbier a écrit : > Hi list, > > In my application I use CheckBoxes to display&set|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

[Gambas-user] CheckBox_MouseUp huge PB

2009-08-22 Thread Jean-Yves F. Barbier
Hi list, In my application I use CheckBoxes to display&set|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 CheckBoxes I must *reverse* the check as it

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

2009-08-22 Thread 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 -I. -g -O2 -c -o ltdl.lo > ltdl.c > ./libtool: line 467: CDPATH: c

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

2009-08-22 Thread Demosthenes Koptsis
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 -I. -g -O2 -c -o ltdl.lo ltdl.c ./libtool: line 467: CDPATH: command not fo

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

2009-08-22 Thread Joshua Higgins
Please could you elaborate slightly? I'm not understanding where to use this and where the container for the embedded form is. -- joshua higgins >>-- -- Let Crystal Reports handle the reporting - Free Crystal Repo

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

2009-08-22 Thread Fabien Bodard
simply like that dim hForm as FMyForm hForm = new hMyForm(FMain) 2009/8/22 Joshua Higgins : > Is it possible to embed a form into another, in the same way a workspace > does, but without the tabs? > > Thanks. > > -- > joshua higgins >>>-- > -

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

2009-08-22 Thread Joshua Higgins
Is it possible to embed a form into another, in the same way a workspace does, but without the tabs? Thanks. -- joshua higgins >>-- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day

Re: [Gambas-user] TreeView item focus

2009-08-22 Thread Jean-Yves F. Barbier
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 could change as I'll trigger this event each time I expand a br

Re: [Gambas-user] TreeView item focus

2009-08-22 Thread Jean-Yves F. Barbier
Doriano Blengino a écrit : > Doriano Blengino ha scritto: >> Jean-Yves F. Barbier ha scritto: >> >>> Hi list, >>> >>> Is it normal that expanding a branch in TreeView doesn't give focus to the >>> root >>> item of this branch (it stays on TreeView root), as this prevents >>> forbidding an >>

Re: [Gambas-user] TreeView item focus

2009-08-22 Thread Fabien Bodard
you can do that by hand ! no ? in TreeView_Expand() Last.Item.Selected=true On some case we don't want to change the item selected so by default it is better like that 2009/8/22 Jean-Yves F. Barbier <12u...@gmail.com>: > Benoît Minisini a écrit : >>> Hi list, >>> >>> Is it normal that

Re: [Gambas-user] TreeView item focus

2009-08-22 Thread Doriano Blengino
Doriano Blengino ha scritto: > Jean-Yves F. Barbier ha scritto: > >> Hi list, >> >> Is it normal that expanding a branch in TreeView doesn't give focus to the >> root >> item of this branch (it stays on TreeView root), as this prevents forbidding >> an >> expand under conditions? >> >> JY >>

Re: [Gambas-user] TreeView item focus

2009-08-22 Thread Jean-Yves F. Barbier
Doriano Blengino a écrit : > Jean-Yves F. Barbier ha scritto: >> Hi list, >> >> Is it normal that expanding a branch in TreeView doesn't give focus to the >> root >> item of this branch (it stays on TreeView root), as this prevents forbidding >> an >> expand under conditions? >> >> JY >> > T

Re: [Gambas-user] TreeView item focus

2009-08-22 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : >> Hi list, >> >> Is it normal that expanding a branch in TreeView doesn't give focus to the >> root item of this branch (it stays on TreeView root), as this prevents >> forbidding an expand under conditions? >> >> JY > > Expanding a branch should not change the focused i

Re: [Gambas-user] TreeView item focus

2009-08-22 Thread Doriano Blengino
Jean-Yves F. Barbier ha scritto: > Hi list, > > Is it normal that expanding a branch in TreeView doesn't give focus to the > root > item of this branch (it stays on TreeView root), as this prevents forbidding > an > expand under conditions? > > JY > The only thing I can say is that when I fi

Re: [Gambas-user] TreeView item focus

2009-08-22 Thread Benoît Minisini
> Hi list, > > Is it normal that expanding a branch in TreeView doesn't give focus to the > root item of this branch (it stays on TreeView root), as this prevents > forbidding an expand under conditions? > > JY Expanding a branch should not change the focused item. Why ? And please remind us if y

Re: [Gambas-user] To the wish list...

2009-08-22 Thread Dimitris Anogiatis
Thanks Benoît, I will compile revision 2260 in a few days since I got a few other things to take care of Regards, Dimitris 2009/8/22 Benoît Minisini > > > Benoît, > > > > > > Perhaps you could also enhance Find to accept regular expressions (or > > > something similar to what we can use with L

[Gambas-user] TreeView item focus

2009-08-22 Thread Jean-Yves F. Barbier
Hi list, Is it normal that expanding a branch in TreeView doesn't give focus to the root item of this branch (it stays on TreeView root), as this prevents forbidding an expand under conditions? JY -- -- Let Crystal R

Re: [Gambas-user] To the wish list...

2009-08-22 Thread Benoît Minisini
> > Benoît, > > > > Perhaps you could also enhance Find to accept regular expressions (or > > something similar to what we can use with LIKE) > > > > If it already does can you provide some more documentation about it in > > Gambasdoc? > > > > > > Regards > > Dimitris > > I'm not sure I will do tha

Re: [Gambas-user] Problem with breakpoint

2009-08-22 Thread Benoît Minisini
> The same problem exist in Stable Gambas Version 2.15.2. Is there an > solution? Restarting gambas don't solve the problem. The just run over the > breakpoints. > > Regards > > Andreas > That bug has been fixed in /branches/2.0. You must wait for a new release... -- Benoît

Re: [Gambas-user] Problem with breakpoint

2009-08-22 Thread Andreas Fröhlke
The same problem exist in Stable Gambas Version 2.15.2. Is there an solution? Restarting gambas don't solve the problem. The just run over the breakpoints. Regards Andreas -Ursprüngliche Nachricht- Von: richard terry [mailto:rte...@pacific.net.au] Gesendet: Donnerstag, 13. August 2009

Re: [Gambas-user] To the wish list...

2009-08-22 Thread Jussi Lahtinen
I think AddSorted() and FindSorted() are very useful (in other parts of my code). Quickly looking in to my code, I find 8 instances were to use them... that would increase performance. Jussi 2009/8/22 Benoît Minisini : >> Benoît, >> >> Perhaps you could also enhance Find to accept regular expre

Re: [Gambas-user] To the wish list...

2009-08-22 Thread Benoît Minisini
> Benoît, > > Perhaps you could also enhance Find to accept regular expressions (or > something similar to what we can use with LIKE) > > If it already does can you provide some more documentation about it in > Gambasdoc? > > > Regards > Dimitris > I'm not sure I will do that. But I'm not sure I w

Re: [Gambas-user] To the wish list...

2009-08-22 Thread Dimitris Anogiatis
Benoît, Perhaps you could also enhance Find to accept regular expressions (or something similar to what we can use with LIKE) If it already does can you provide some more documentation about it in Gambasdoc? Regards Dimitris 2009/8/22 Benoît Minisini > > Jussi Lahtinen ha scritto: > > > Mean

Re: [Gambas-user] To the wish list...

2009-08-22 Thread Benoît Minisini
> Jussi Lahtinen ha scritto: > > Meaning like this? Should be faster! > > > > Dim col As New Collection > > > > For ii = 0 To iMyArray.Max > > col.Add(iMyArray[ii], iMyArray[ii]) > > Next > > > > iMyArray.Clear() > > > > For Each ii In col > > iMyArray.Add(ii) > > Next > > > > > > Jussi > > > > 20