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 Tech Support » Using TAB key to jump from a CExtGridCellString to another in CExtGridWnd Collapse All
Subject Author Date
Daniel Verret Feb 2, 2010 - 8:19 AM

In a CExtGridWnd, I want to be able to jump from a cell (CExtGridCellString) to another using the TAB key.


I want to be able to add text in a cell, press tab to jump the the next cell, etc... like in excel.


Is there a simple way to do that?

Technical Support Feb 2, 2010 - 2:08 PM

The following code makes the CExtGridWnd control using the Tab key for jumping cell focus to the next grid cell at right and the Shift+Tab keys for jumping cell focus to the next grid cell on the left.

CExtGridWnd & wndGrid = . . .
wndGrid.m_dwSupportedAccelCommands |= __EGSA_IN_ROW_TAB;