[fxruby-users] FXMessageBox - MBOX_SAVE_CANCEL_DONTSAVE problem

Thomas, Jason M (Software) jmthomas at ball.com
Mon Jan 14 15:04:10 EST 2008

Will do. I also noticed that FXMessageBox doesn't have a
MBOX_CLICKED_DONTSAVE return value so it looks like that option hasn't
been used/tested very much.

-----Original Message-----
From: fxruby-users-bounces at rubyforge.org
[mailto:fxruby-users-bounces at rubyforge.org] On Behalf Of Lyle Johnson
Sent: Monday, January 14, 2008 1:02 PM
To: fxruby-users at rubyforge.org
Subject: Re: [fxruby-users] FXMessageBox - MBOX_SAVE_CANCEL_DONTSAVE

On Jan 14, 2008, at 1:29 PM, Thomas, Jason M ((Software)) wrote:

> When I try to create a FXMessageBox with option 
> MBOX_SAVE_CANCEL_DONTSAVE, I get the following error: RangeError:
> bignum
> out of range of unsigned long.
> My code looks like this:
> value = FXMessageBox.question(self, MBOX_SAVE_CANCEL_DONTSAVE, 
> 'Save?', 'Save Before Opening?')
> The other MBOX_XXX options all seem to work.

OK. The integer value of that option flag must be exceeding some Ruby
size limit. Could you please file a bug report on this one in the FXRuby
bug tracker at RubyForge?
fxruby-users mailing list
fxruby-users at rubyforge.org

This message and any enclosures are intended only for the addressee.  Please  
notify the sender by email if you are not the intended recipient.  If you are  
not the intended recipient, you may not use, copy, disclose, or distribute this  
message or its contents or enclosures to any other person and any such actions  
may be unlawful.  Ball reserves the right to monitor and review all messages  
and enclosures sent to or from this email address.

More information about the fxruby-users mailing list