Go Back   RunUO - Ultima Online Emulation > RunUO > Core Modifications > Other

Other Cant find a category above, use this one! Core mods not listed above go here!

Reply
 
Thread Tools Display Modes
Old 08-03-2007, 06:51 PM   #1 (permalink)
Lurker
 
Join Date: Jul 2007
Posts: 6
Default WarningGump error in Coding ?

Hi,

when using the WarningGump with a cancel button, the cancel
button won't be there. Debugging showed, that the execution order of the constructors is different than expected...

The constructor with the additional parameter for the cancel button sets the
member variable m_CancelButton, after the other constructor with the real coding has been called. Resulting in that the cancel button is not shown, regardless of the given parameter "cancelButton".

So I corrected the original coding in order to work correct. Because having no
submit rights would you mind checking in the corrected file?

10x, Mumba
Attached Files
File Type: cs WarningGump.cs (2.4 KB, 15 views)
mumba.hasa is offline   Reply With Quote
Old 08-04-2007, 05:23 PM   #2 (permalink)
Forum Administrator
 
Join Date: Jan 2003
Location: Northern Virginia
Posts: 1,541
Default

Nice find, thank you.
Mark is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5