Re: [Gambas-user] Xview selection cursor info

2009-12-01 Thread Fabien Bodard
2009/12/1 Jean-Yves F. Barbier <12u...@gmail.com>: > Fabien Bodard a écrit : >> si : >> >> PUBLIC SUB OBS_Open() >> >>     ' IF IsNull($sfrmNouveau) THEN Error.Raise("Vous devez définir un >> formulaire Nouveau") >>     ' IF IsNull($sModifier) THEN Error.Raise("Vous devez définir un >> formulaire M

Re: [Gambas-user] Xview selection cursor info

2009-12-01 Thread Jean-Yves F. Barbier
Fabien Bodard a écrit : > si : > > PUBLIC SUB OBS_Open() > > ' IF IsNull($sfrmNouveau) THEN Error.Raise("Vous devez définir un > formulaire Nouveau") > ' IF IsNull($sModifier) THEN Error.Raise("Vous devez définir un > formulaire Modifier") > IF IsNull($hGrid.DataField) THEN ERROR.Rais

Re: [Gambas-user] Xview selection cursor info

2009-12-01 Thread Fabien Bodard
si : PUBLIC SUB OBS_Open() ' IF IsNull($sfrmNouveau) THEN Error.Raise("Vous devez définir un formulaire Nouveau") ' IF IsNull($sModifier) THEN Error.Raise("Vous devez définir un formulaire Modifier") IF IsNull($hGrid.DataField) THEN ERROR.Raise("Vous devez definir le champ identificat

Re: [Gambas-user] Xview selection cursor info

2009-12-01 Thread Jean-Yves F. Barbier
Fabien Bodard a écrit : ... > simple :) > GridView1.Row = 0 > > (it work I've tested it Already tested: don't work not on your code :( -- Repartee is something we think of twenty-four hours too late. -- Mark Twain

Re: [Gambas-user] Xview selection cursor info

2009-12-01 Thread Fabien Bodard
2009/12/1 Jean-Yves F. Barbier <12u...@gmail.com>: > Fabien Bodard a écrit : > > @#&!§ Murphy: the only one I didn't test:( > >> and the third question ? i don't understand what you want ? > > this is Q3 >>  first visible row : >> >> irow = GridView1.RowAt(1) >> >> LastVisible Row : >> >> irow

Re: [Gambas-user] Xview selection cursor info

2009-12-01 Thread Jean-Yves F. Barbier
Fabien Bodard a écrit : @#&!§ Murphy: the only one I didn't test:( > and the third question ? i don't understand what you want ? this is Q3 > first visible row : > > irow = GridView1.RowAt(1) > > LastVisible Row : > > irow = GridView1.RowAt(GridView.ClientHeight - 1) this Q3 enhanced >

Re: [Gambas-user] Xview selection cursor info

2009-12-01 Thread Fabien Bodard
http://gambasdoc.org/help/comp/gb.qt/gridview/mode http://gambasdoc.org/help/comp/gb.qt/gridview/row and the third question ? i don't understand what you want ? first visible row : irow = GridView1.RowAt(1) LastVisible Row : irow = GridView1.RowAt(GridView.ClientHeight - 1) But it don't

[Gambas-user] Xview selection cursor info

2009-11-30 Thread Jean-Yves F. Barbier
Hi, On a tableview, I need: * Make the selection cursor to appear on 1st line at opening, * Selection cursor's position (row) into the grid, * 1st & last rows visible into the grid I how could I get that? -- So, is the glass half empty, half full, or just twice as large as it needs to be? ---