Datagridview cellvalidating enter
)without a snippet there is what you have to do: # use Editing Control Showing event to get an editing control # add Key Down event to this control # use Key Down event to catch and handle keys (including ESC, and ENTER)Sorry for the lack of snippet... No this not works, you can use max rollout or form as main dialog where you can put all yours controls ei. So I was trying to elaborate a dirty workaround to keep the advantages of max rollouts without their downsides.
I (and MANY more out there, try googling) have the same question.Here is my test snippet (important part in yellow below): try (destroy Dialog roll_Text Editing) catch() rollout roll_Text Editing "test" width:300 height:250 ( dot Net Control dgv "Data Grid View"; on roll_Text Editing open do ( dgv. So you can use Form instead of Rolloutactually it's a default behavior of Data Grid View Text Box Editing Control. However, I find helpful the retractable rollout system in order to separate the tool parts (settings, main part,...).I would want to easier the Data Grid View Text Box Cell editing by allowing the user to validate their entry by pressing Enter or cancel it by pressing Esc. Width = 195; -- -- rows local row = dotnetobject "Data Grid View Row"; local cell = dotnetobject "Data Grid View Text Box Cell"; row. but when Data Grid View control is in Max Rollout it doesn't work. I will try to restore this editing behavior inside max rollouts by extending the current Data Grid View like you did...