@DanBayn wrote:
I’ve noticed recently that I haven’t been able to control which button is the default when using MessageBox in a Python script. According to the help file 256 assigns the second button as the default.
I’ve used this for years, but recently it doesn’t seem to be working for me. Here is an example:
import rhinoscriptsyntax as rs rs.MessageBox("yada yada yada", 4 + 64 + 256, "Test")
The “No” button should be the default but it’s not.
Did something change that isn’t documented?
Thanks,
Dan
Posts: 4
Participants: 3