Recent

Author Topic: MB_ALT  (Read 867 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: 1587
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 1.8.0 'stable' (#56594 win64) unless specified otherwise...