Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Possible bug in CExtGridCellDateTime Collapse All
Subject Author Date
Bahrudin Hrnjica Mar 23, 2006 - 6:30 AM

When some other cell has focus, and you scroll to Date Time cell, and click on drop down button.

When you close popup window of the cell, by clicking on dropdown button again, grid window goes back to previously focused cell.

Your ordinary ComboBoxCell in Simple Grid Sample works corecly.

Regards.

Technical Support Mar 23, 2006 - 11:45 AM

Thank you for the bug report. The bug is now fixed. In all the OnButtonPressed() method implementation entries (in several cell classes), we added the following code:

 // move focus to the cell
CPoint ptFocusOld = wndGrid.FocusGet();
CPoint ptFocusDesired( nColNo, nRowNo );
 if( ptFocusDesired != ptFocusOld )
 {
  wndGrid.FocusSet( ptFocusDesired );
  wndGrid.OnSwUpdateWindow();
 }