Pages

Friday, 17 September 2010

The Mysterious Case of the Dialog Box checkbox

To my mind one of the longest-standing mysteries in OpenInsight has been the purpose of the "Dialog box" checkbox in the Window Properties dialog as you can see here:




For years the function of this checkbox has eluded me (and my erstwhile colleagues), so much so that I believed it was simply something that the original Rev programmers intended to use but never implemented.

Well, after some recent work with the Revelation crew I came across the answer, and it's really simple:

It's used by the Repository( "EXECUTE" ) method for launching a window - if it's checked then the Repository function calls the Dialog_Box() function to execute the window instead of the normal Start_Window() function.

Mystery solved!

No comments:

Post a Comment