Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl - Child Ctrl, selected row, focus issue
GridCtrl - Child Ctrl, selected row, focus issue [message #10113] |
Thu, 21 June 2007 05:28  |
kcabobert
Messages: 51 Registered: January 2007 Location: USA
|
Member |
|
|
There appears to be an issue with GridCtrl related to child ctrls the selected row and focus in general.
How to replicate:
class myapp : public TopWindow {
GridCtrl gridctrl;
public:
myapp() {
Add( gridctrl.SizePos() );
gridctrl.AddIndex("thing_id");
gridctrl.AddColumn("check","Check").Ctrls<Option>().Default(0);
gridctrl.AddColumn("name","name");
gridctrl.Add(0,0,"me");
gridctrl.Add(1,0,"you");
gridctrl.Add(2,0,"them");
gridctrl.Add(3,0,"him");
}
}
Compile the app.
a) Enter the GridCtrl, press the <space>, then <tab> twice, then <space>.
b) using the arrow keys, move up and down across all of the rows.
The result:
a) The cell two above's checkbox will uncheck.
b) as the cursor moves the box which are selected will change.
I an guessing something is not properly refreshing when WhenCtrls Action is called.
Thoughts?
|
|
|
 |
|
GridCtrl - Child Ctrl, selected row, focus issue
|
 |
|
Re: GridCtrl - Child Ctrl, selected row, focus issue
By: unodgs on Thu, 21 June 2007 08:55
|
 |
|
Re: GridCtrl - Child Ctrl, selected row, focus issue
|
 |
|
Re: GridCtrl - Child Ctrl, selected row, focus issue
By: unodgs on Thu, 21 June 2007 22:26
|
Goto Forum:
Current Time: Fri Jul 18 10:58:41 CEST 2025
Total time taken to generate the page: 0.03904 seconds
|