Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Selecting a cell in gridctrl
Re: Selecting a cell in gridctrl [message #12449 is a reply to message #12447] |
Thu, 01 November 2007 18:47   |
|
Quote: | The next problem I've run into is I can't seem to force GridCtrl to scroll if the selected cell is off screen. I tried to used the ScrollView function, but it appears to have no effect. I tried all the available variants of ScrollView with no change. Is there something else I am missing?
|
You can use GotTo(int row) method to make the given row visible. There is no method to do the same in horizontal direction however so I will overload GotTo to make it possible.
You can also make public sbx and sby members and use their methods to force scrolling (SetPos). Of course it's not a proper way, but it can temorarly solve your problems.
|
|
|
 |
|
Selecting a cell in gridctrl
By: dmcgeoch on Fri, 19 October 2007 00:20
|
 |
|
Re: Selecting a cell in gridctrl
By: unodgs on Fri, 19 October 2007 08:28
|
 |
|
Re: Selecting a cell in gridctrl
By: dmcgeoch on Fri, 19 October 2007 19:32
|
 |
|
Re: Selecting a cell in gridctrl
By: unodgs on Fri, 19 October 2007 19:52
|
 |
|
Re: Selecting a cell in gridctrl
By: dmcgeoch on Sat, 20 October 2007 01:49
|
 |
|
Re: Selecting a cell in gridctrl
By: unodgs on Sat, 20 October 2007 11:18
|
 |
|
Re: Selecting a cell in gridctrl
By: dmcgeoch on Mon, 22 October 2007 16:33
|
 |
|
Re: Selecting a cell in gridctrl
By: unodgs on Mon, 22 October 2007 23:19
|
 |
|
Re: Selecting a cell in gridctrl
By: dmcgeoch on Tue, 23 October 2007 20:26
|
 |
|
Re: Selecting a cell in gridctrl
By: dmcgeoch on Thu, 01 November 2007 18:02
|
 |
|
Re: Selecting a cell in gridctrl
By: mezise on Thu, 01 November 2007 18:36
|
 |
|
Re: Selecting a cell in gridctrl
By: unodgs on Thu, 01 November 2007 18:47
|
 |
|
Re: Selecting a cell in gridctrl
By: dmcgeoch on Thu, 01 November 2007 19:23
|
 |
|
Re: Selecting a cell in gridctrl
By: unodgs on Thu, 01 November 2007 21:27
|
Goto Forum:
Current Time: Wed Jun 25 14:26:55 CEST 2025
Total time taken to generate the page: 0.03674 seconds
|