arbp / WFS

Windows Functionality Suite
MIT License
25 stars 11 forks source link

"This Item does not exist" error in Xojo 2014r1 #13

Open justindelliott opened 10 years ago

justindelliott commented 10 years ago

When opening the project in Xojo 2014 Release 1 the IDE returns an error at "StatusBarWFS.Constructor, Line 1" of "This item does not exist: ConstructorHelper( owner.Handle, owner.GrowIcon )" when attempting to run on OS X (10.9.2):

screen shot 2014-04-05 at 11 31 38 pm

I have this same exact error occurring in an old app that has version 2.6.0 (Dec 22, 2010) of the WFS project.

justindelliott commented 10 years ago

Looks like it's related to "owner.GrowIcon" which was removed as of Xojo 2013r3:

http://docs.xojo.com/index.php/Changes_2013r3

FIX 23354 Desktop: The long obsoleted Window.CloseBox, GrowIcon, and ZoomIcon properties have been removed.

My gut feeling is that since it's obsolete that it probably can be removed from the parameters and then the code in ConstructorHelper can be updated to remove the check for if growIcon is true?

if growIcon then style = style + &h100 end

I'd create a pull request on this, but I'm not as familiar with Windows and the implications of making this change.