Re: [Gambas-user] listbox display selected item

2009-07-22 Thread Jean-Yves F. Barbier
Dimitris Anogiatis a écrit : > JY,to select a specific item in a listview you have to provide the item's > key like this > > Listview1["Blah"].Selected = True > > if you want to automatically select the first item that is on the listview > you try this > > IF Listview1.Count > 0 THEN > Listvi

Re: [Gambas-user] listbox display selected item

2009-07-22 Thread Stephen Bungay
It won't work anyway, for reasons which are known only to the implementor, the mousemove event fires only when the mouse button is down AND the mouse is moving within the confines of the listbox (so that would be a MouseMoveWithButtonDown event then). IMHO this is not as useful as simply having

Re: [Gambas-user] listbox display selected item

2009-07-22 Thread Jean-Yves F. Barbier
Stephen Bungay a écrit : >I suppose one could use the MouseMove event, track the mouse position > over the listbox and highlight the item that it is over... I seem to > recall something about this... just it was a long time ago and now Iits > fuzzy as to if it was in VB 6.0 or Gambas... >

Re: [Gambas-user] listbox display selected item

2009-07-22 Thread Dimitris Anogiatis
JY,to select a specific item in a listview you have to provide the item's key like this Listview1["Blah"].Selected = True if you want to automatically select the first item that is on the listview you try this IF Listview1.Count > 0 THEN Listview1.MoveFirst Listview1.Item.Selected = True EN

Re: [Gambas-user] listbox display selected item

2009-07-22 Thread Stephen Bungay
I suppose one could use the MouseMove event, track the mouse position over the listbox and highlight the item that it is over... I seem to recall something about this... just it was a long time ago and now Iits fuzzy as to if it was in VB 6.0 or Gambas... Sorry, not much help but perhaps i

Re: [Gambas-user] use a string to make a call

2009-07-22 Thread Dimitris Anogiatis
You're welcome JY :) Keep up the good work :) On Wed, Jul 22, 2009 at 10:09 PM, Jean-Yves F. Barbier <12u...@gmail.com>wrote: > Dimitris Anogiatis a écrit : > > JY, I don't know if there's a direct way but this workaround has worked > for > > me in the past > > > > PUBLIC SUB Form_Open() > >

Re: [Gambas-user] use a string to make a call

2009-07-22 Thread Jean-Yves F. Barbier
Dimitris Anogiatis a écrit : > JY, I don't know if there's a direct way but this workaround has worked for > me in the past > > PUBLIC SUB Form_Open() > 'populate the listview as an example. > Listview1.Add("Blah","Hi there") > Listview1.Add("Blah2","How are you") > END > > PUBLIC SUB

Re: [Gambas-user] use a string to make a call

2009-07-22 Thread Dimitris Anogiatis
JY, I don't know if there's a direct way but this workaround has worked for me in the past PUBLIC SUB Form_Open() 'populate the listview as an example. Listview1.Add("Blah","Hi there") Listview1.Add("Blah2","How are you") END PUBLIC SUB chooseSub(choice as String) SELECT CASE cho

[Gambas-user] listbox display selected item

2009-07-22 Thread Jean-Yves F. Barbier
Hi, is there a way to make an item appear selected when the mouse is hovering it? (just after ListBox activation) -- "...Unix, MS-DOS, and Windows NT (also known as the Good, the Bad, and the Ugly)." (By Matt Welsh) --

Re: [Gambas-user] A screenshot of Qt 4 WebKit inside Gambas 3

2009-07-22 Thread richard terry
On Thu, 23 Jul 2009 11:40:57 am Benoît Minisini wrote: > The quality of the jpeg is bad so that its size is lower than 256 Kb. This > is the web application I develop for my job. > > Apparently there are some display bugs in WebKit when displaying underlined > links... > > But hey, it seems to work

[Gambas-user] use a string to make a call

2009-07-22 Thread Jean-Yves F. Barbier
Hi, I'd like to use the Key part of a ListView as the name of the proc to call when the corresponding item is clicked, is it possible? JY -- If you tell the truth you don't have to remember anything. -- Mark Twain -

[Gambas-user] ListView PB

2009-07-22 Thread Jean-Yves F. Barbier
Hi, Base upon TreeView example, I made a popup appear when I left click a tree's leaf. It appears, but I can't have my 1st (or other) item automatically selected: ... ListView1.X = iX ListView1.Y = iY ListView1.Add("0", "Ajouter une feuille") ListView1.Add("1", "Enlever une feuille

Re: [Gambas-user] I made a big weird stupid mistake

2009-07-22 Thread Rob
On Wednesday 22 July 2009 02:27:44 pm Benoît Minisini wrote: > So the gambasdoc.org is not accessible for a unknown period. > Sorry for the inconvenience! > Now I hope Rob has saved something... It's going again, thanks to a 10-month-old backup from the last time I tried to migrate our host to a

Re: [Gambas-user] I made a big weird stupid mistake

2009-07-22 Thread Benoît Minisini
> Benoît Minisini a écrit : > > Hi everyone, > > > > I accidently "rm -rf" the "web" directory of /home/gambas on the wiki > > server. > > > > :-( > > > > So the gambasdoc.org is not accessible for a unknown period. > > > > Sorry for the inconvenience! > > > > Now I hope Rob has saved something...

Re: [Gambas-user] Firebird + Gambas

2009-07-22 Thread craf
OK Benoit. Thanks. -Mensaje original- De: Benoît Minisini Reply-to: mailing list for gambas users Para: mailing list for gambas users Asunto: Re: [Gambas-user] Firebird + Gambas Fecha: Wed, 22 Jul 2009 20:32:29 +0200 > Hi Benoit. > > I am using Ubuntu 9.04 and Gambas version 2.14.0. >

Re: [Gambas-user] I made a big weird stupid mistake

2009-07-22 Thread Ron
Benoît Minisini schreef: > Hi everyone, > > I accidently "rm -rf" the "web" directory of /home/gambas on the wiki server. > :-( > > So the gambasdoc.org is not accessible for a unknown period. > > Sorry for the inconvenience! > > Now I hope Rob has saved something... > > There are ways to unde

Re: [Gambas-user] I made a big weird stupid mistake

2009-07-22 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : > Hi everyone, > > I accidently "rm -rf" the "web" directory of /home/gambas on the wiki server. > :-( > > So the gambasdoc.org is not accessible for a unknown period. > > Sorry for the inconvenience! > > Now I hope Rob has saved something... " I think we should vot

Re: [Gambas-user] Firebird + Gambas

2009-07-22 Thread Benoît Minisini
> Hi Benoit. > > I am using Ubuntu 9.04 and Gambas version 2.14.0. > > Regards > So you are not using the latest "revision", but the latest "version". I will release a 2.15 soon with that fix. Regards, -- Benoît -- __

Re: [Gambas-user] Firebird + Gambas

2009-07-22 Thread craf
Hi Benoit. I am using Ubuntu 9.04 and Gambas version 2.14.0. Regards -Mensaje original- De: Benoît Minisini Reply-to: mailing list for gambas users Para: mailing list for gambas users Asunto: Re: [Gambas-user] Firebird + Gambas Fecha: Wed, 22 Jul 2009 20:08:38 +0200 > Hi. > > Has

[Gambas-user] I made a big weird stupid mistake

2009-07-22 Thread Benoît Minisini
Hi everyone, I accidently "rm -rf" the "web" directory of /home/gambas on the wiki server. :-( So the gambasdoc.org is not accessible for a unknown period. Sorry for the inconvenience! Now I hope Rob has saved something... -- Benoît --

Re: [Gambas-user] Firebird + Gambas

2009-07-22 Thread Benoît Minisini
> Hi. > > Has anyone tried to connect to Firebird with Gambas, and was it?. > Ideally, if there is no more support for a specific database, shall be > removed from the examples. > The author of the component can no longer be contacted by email. > > Regards I recently fixed things in the gb.db.fire

[Gambas-user] Firebird + Gambas

2009-07-22 Thread craf
Hi. Has anyone tried to connect to Firebird with Gambas, and was it?. Ideally, if there is no more support for a specific database, shall be removed from the examples. The author of the component can no longer be contacted by email. Regards --

Re: [Gambas-user] buttons in hbox order PB [SOLVED]

2009-07-22 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : .. > Because when a container arrange its contents, it sets the z-order too (this > is the same thing). So, in the case of the HBox, the focus order will always > be from left to right. Yep, that's what I thought, so I solve this PB deleting the HBox and recreating

Re: [Gambas-user] buttons in hbox order PB

2009-07-22 Thread Benoît Minisini
> Fabien Bodard a écrit : > > I also tried that: either on 2.13.1-1 (debian sid) or 2.14.0 (lenny) it is > NOT working: I have a right order with Arrow-Down (quite normal, as it > moves in a "column"), but never with Tab; even having deleting the Quit > button and recreated it in order to be sure i

Re: [Gambas-user] buttons in hbox order PB

2009-07-22 Thread Jean-Yves F. Barbier
Fabien Bodard a écrit : I also tried that: either on 2.13.1-1 (debian sid) or 2.14.0 (lenny) it is NOT working: I have a right order with Arrow-Down (quite normal, as it moves in a "column"), but never with Tab; even having deleting the Quit button and recreated it in order to be sure it is to be

Re: [Gambas-user] buttons in hbox order PB

2009-07-22 Thread Fabien Bodard
the order of tab depend of the zorder of the control in the container.. You can use the hierarchy tab on the Rigth of the IDE to manage the position of the controls in each container. 2009/7/22 Jean-Yves F. Barbier <12u...@gmail.com>: > Hi, > > I've got a small connection form with 2 buttons unde