Recent

Author Topic: MB_ALT  (Read 1327 times)

skiy1337lazarus

  • New Member
  • *
  • Posts: 34
MB_ALT
« on: October 06, 2015, 11:45:00 am »
I suggest a new flag for Application.messageBox:
MB_ALT=;//When the user presses Alt, even on Mac OS, then it activates shortcuts like:
Alt-Y  for Yes
Alt-N for No
Escape for Cancel.

Application.MessageBOx('Do you like forums?','Lazarus',MB_YESNOCANCEL or MB_ALT)

I think that is how Windows works...

eny

  • Hero Member
  • *****
  • Posts: 1634
Re: MB_ALT
« Reply #1 on: October 06, 2015, 12:15:03 pm »
This already works like so on Windows  %)
All posts based on: Win10 (Win64); Lazarus 2.0.10 'stable' (x64) unless specified otherwise...

 

TinyPortal © 2005-2018