Are there any controls on the TAdvPanel that might 'consume' the ESC key?
Maybe? I use two different ones. They are both linked to a
TAdvPanel.
The first one has a TAdvGroupBox on the Panel and a TAdvStringGrid in the groupbox.
The second one also has a TAdvGroupbox on the panel and in that box a TAdvOfficeComboBox and a few TAdvOfficeCheckboxes.We created a test project here and could not reproduce an issue with ESC handling
We sent the project directly to your email.
Hi,
I work under almost the same circumstances as Ronald ( EditStyle = esPopup and a small panel with some buttons and edit). I have to close the editor if we validate by clicking on a button.
The only way I found was to call MyGrid->SetFocus.
Otherwise, the editor remains visible (except by clicking outside).
(I tried MyGrid->HideInplaceEdit() and MyFormControlEditLink->HideEditor(), but doesn't work).
Is there a better way?
We have made an improvement to the FormControlEditLink.HideEditor handling for esPopup editor types. The next update of TAdvStringGrid will have this improvement.