I'm encountering this problem:
When writing a callback function, everything goes well until a messagebox call: the SU window suddenly minimizes to the taskbar


Something like this:
- Code: Select all
@web_dialog.add_action_callback("wcCreatePlace") { |d, p|
# Possible opening ?
pushPullDoable=validateFace4Pushpull(face)
if pushPullDoable
dist=findWallFaceDistance(face)
if dist
# EVERYTHING OK UNTIL HERE
rep=UI.messagebox("Open the wall ?",MB_YESNO)
face.pushpull(-dist) if rep == IDYES
end
end
}
Anyone encountered this before ?