[Solved] How to scroll a Gridview via code
Posted
#1
(In Topic #1202)
Enthusiast

I am having a Slight issue at the moment that I can not figure out how to sort
I am trying to scroll a gridview using a up and down arrow on the screen (this is a touch app)
This is what I have so far
Code (gambas)
- Global.RowCount = 0
Down works once and then it does nothing and the up does not work at all
Am i on the right tack or am i completly off point here
Posted
Guru

it looks like it should be the position marker
I'd not use it and just do this…
Posted
Guru

(i'll call the variable RowPos not RowCount as it makes more sense)
Code (gambas)
- Global.RowPos = 0
Well actually i would probably do it like this…
I would set the buttons to have a Group property , say btnMovePos and operate them both in the same function, just to save code…
Code (gambas)
- Global.RowPos = 0
Code (gambas)
- ' Select if it's a different position
1 guest and 0 members have just viewed this.



