Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Exclamation("") and ESCAPE key
Exclamation("") and ESCAPE key [message #57250] Thu, 17 June 2021 10:45 Go to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I am experiencing an unwanted behaviour that bypass my control and let my users to perform weird things.
If I use

Exclamation("warning something");

to warn the eser that an EditString ctrl inside a GridCtrl cannot be empty, I see that the user may use the ESC key to close the esclamation window. Then he press again the ESC key and magically he entered a void string where it should never occur. If instead he use the "OK" button in Exclamation() then everything is OK.
The ESC key seems to work closing other windows.

The question is: is there a way to disable the ESC key when answering in a modal dialog?

Thanks,
Luigi
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH] SDL2GUI (virtualgui) key handling improvements.
Next Topic: PdfDraw isn't linked in when compiling for Win on Linux using Clang-MinGW
Goto Forum:
  


Current Time: Thu May 02 04:16:13 CEST 2024

Total time taken to generate the page: 0.03300 seconds