On Aug 16, 2006, at 7:49 AM, Steven Hedgepeth wrote:
Dear Anatomically Correct Programming Advice Genius,
Regarding the following code I found in the MenuItemPopUp example:
if CheckBox1.Value then
// Let's display it with an absolute position of 0, 0.
// This is globally absolute, not relative to the window!
returnItem = bar.PopUp( -20, -20 )
else
// Just display as normal
returnItem = bar.PopUp
end
Is the value of CheckBox1 both boolean and integer, i.e., true is
the same as 1 and false is the same as 0?
Sincerely,
Steven Hedgepeth
The value of a checkbox is boolean.
That's how this example uses it as well. Not as an integer.
Russ
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>