TAdvSmoothMessageDialog and escape key

Hi 

how can i intercept Key = VK_ESCAPE when i have message open ? or better dialog return me the number of button pressed. If i press esc what number return me ? can i control this ?

Thx, Bye

Hi, 


When using the ExecuteDialog functionality you can retrieve the TModalResult which is attached to a button. This way you know if OK or Cancel is pressed. Please note that Escape is implemented, only if the mrCancel modal result button is available.