08-29-2023, 11:10 PM
Thank you, Kevin, that's certainly helpful. What I'm actually trying to do is accomplish the same thing thing with a wpfBuilder dialog's only button.
For example:
Can you tell me how I can make 'btn1' the default button?
Best regards,
burque505
For example:
var b = new wpfBuilder("Select").Width(185);
b.R.Add(out Button btn1, "Number of Sections").Add(out TextBox tb1).Width(80).Focus();Best regards,
burque505

Help needed: Set DefaultButton for dialog