Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
kcabobert is currently offline  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?
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Ctrls<>() Callback / Disable some rows
Next Topic: GridCtrl 'Key' modifications / questions
Goto Forum:
  


Current Time: Fri Jul 18 10:58:41 CEST 2025

Total time taken to generate the page: 0.03904 seconds