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
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
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
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
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
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
>
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
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?
---