* 632 Posts in 222 Topics by 64 Members Latest Member: Rixarn   **
IFSO PORTAL
  Advanced search
February 04, 2012, 02:29:35 pm
HomeforumHelpSearchLoginRegister**
Recent Posts
[February 01, 2012, 07:03:43 pm]

[January 10, 2012, 09:50:03 pm]

[November 06, 2011, 02:57:54 pm]

[November 05, 2011, 08:11:39 pm]

[November 03, 2011, 12:09:02 pm]

[November 23, 2010, 12:54:50 pm]

[November 23, 2010, 07:59:11 am]

[November 19, 2010, 06:27:09 pm]

[November 11, 2010, 05:31:45 pm]

[October 15, 2010, 01:23:38 pm]
IFSO Portal  |  Forum  |  ifsoGUI  |  Bug Reports  |  Topic: Example #4 stuck under MacOS « previous next »
Pages: [1] Go Down Print
Author Topic: Example #4 stuck under MacOS  (Read 2218 times)
Corum
ifsoGUI Owner
Newbie
*
Offline Offline

Posts: 37


CoRuMmO
View Profile
« on: November 18, 2009, 07:31:44 am »

Hi there, I've just purchased the license of this nice library.
I'm sorry to introduce myself into bug reports section but...  Grin

I'm using the latest version of IfsoGUI, with Bmax 1.33 and Xcode 1.2 under Mac OSX Leopard.
Well, I've successfully compiled and executed the whole examples I downloaded here around. All examples but #4 work perfectly.

I tried to figure out a possible cause, and walking through debugging, I noticed an execution stall when it comes to assign the textbox gadget into column #2:
Code:
mcl.AddColumn("Column 2", 140, ifsoGUI_COLUMNTYPE_TEXTBOX, "Textbox test")
in ifsoGUIEx4.bmx source.
Stepping further, I got to isolate the possible fault, when the library tries to call ShowChars() Method into textbox.bmx module.
More precisely, the trouble occurs into the Elseif chunk in the latest part of the method (ElseIf i > imax).

The strangest thing is a program freeze until the final crash, without any understandable message that explains why it crashed.
(I suspect an endless loop in the While cycle).
Any suggestion?

Thanks in advance.
Ciao! ;-)

EDIT:
By replacing the ifsoGUI_COLUMNTYPE_TEXTBOX with an ifsoGUI_COLUMNTYPE_CHECKBOX, the example works as expected.
« Last Edit: November 18, 2009, 08:15:44 am by Corum » Logged
TaskMaster
Administrator
Sr. Member
*****
Offline Offline

Posts: 439


TaskyZ
View Profile
« Reply #1 on: November 18, 2009, 08:38:33 am »

Thanks for the bug report.

I have fixed this, just a simple issue where I forgot to check for a value being too low before using it.

ifsoGUI v1.13 is up.
« Last Edit: November 18, 2009, 08:55:50 am by TaskMaster » Logged
Corum
ifsoGUI Owner
Newbie
*
Offline Offline

Posts: 37


CoRuMmO
View Profile
« Reply #2 on: November 18, 2009, 08:57:37 am »

Wow! The fastest bugfix in the software history. Smiley
Just downloaded 1.13: problem solved.
Thanks a lot! Smiley
Logged
TaskMaster
Administrator
Sr. Member
*****
Offline Offline

Posts: 439


TaskyZ
View Profile
« Reply #3 on: November 18, 2009, 09:13:52 am »

LOL  Grin

That was a show stopping bug. I hate to have those hanging out there.  Glad you found it.  Came about a couple versions ago when I improved on the way textboxes fit text.

If you find any other problems, have suggestions, or need help with understanding how to use something feel free to post.
Logged
Pages: [1] Go Up Print 
IFSO Portal  |  Forum  |  ifsoGUI  |  Bug Reports  |  Topic: Example #4 stuck under MacOS « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
TinyPortal v0.9.8 © Bloc
TechHead design by Bloc
Valid XHTML 1.0! Valid CSS!