default action in dialogs




  Hi,

how can I make a button in a dialog the dafault
button, in the sense of the button getting pressed
when I press enter somewhere else in a dialog,
but in a control that does not intercept ENTER
presses itself. I can give buttons the big border
that make them look like default buttons, but this
doesn't have any effect. Do I have to code the
default action (typically pressing OK) by hand?

  Thanks,

    Robert



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]