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 » Trying to prevent inplace control from losing focus Collapse All
Subject Author Date
E. S. Feb 10, 2020 - 4:10 PM

I want to prevent the user from setting focus away from an inplace control inside of a property grid until the contents of the cell being edited are valid. I want to handle the following cases:

#1. When the user clicks away from a cell while the cell contents are invalid, I want keyboard focus to be set back to the invalid cell to force the user to edit the cell again.

#2. When the user presses the return key to finish editing the cell and the cell contents are invalid, I want keyboard focus to be set back to the invalid cell to force the user to edit the cell again.

What is the correct way to accomplish this?