You are not logged in.

theuserbl

Intermediate

  • "theuserbl" started this thread

Posts: 436

Date of registration: Dec 20th 2008

  • Send private message

1

Sunday, July 19th 2009, 6:29pm

Framework bugs

At
http://www.jabaco.org/board/p983-trying-…on.html#post983
Manuel annonced a new Jabaco-version on the end of tthis month.

So I think, it is a good opportunity to create a thread with all known Framework bugs (and existing bugfixes), so that it can be integrated in the newest Jabaco-version. :)

I will begin with the list of bugs:

1) Bug with filled rects.
The bug which I have mentioned on
http://www.jabaco.org/board/p252-bugs-co.html (Dec., 12th '08 )
http://www.jabaco.org/board/248-meine-er…beta-1-4-2.html (Jun., 25th '09)
is still not fixed.
The bug you can find at
http://code.google.com/p/jabacoframework…ureBox.jsrc#268


2) LTrim And RTrim
In VBA/String.java there stand for RTrim:

Source code

1
2
3
4
5
6
7
public static String RTrim(String String1) {
  int iEnd = String1.length();
  for (int i = String1.length()-1; i >= 0; i--) {
   if (String1.charAt(i) == (char)' ') iEnd = i; else i = 0;
  }
  return String1.substring(0, iEnd);
}


This works only for ' ', but not for '\t'.
So it must be corrected to

Source code

1
 if ((String1.charAt(i) == (char)' ') || (String1.charAt(i) == (char)'\t'))   iEnd = i; else i = 0;
.

Same thing with LTrim.

The specific code you can find on
http://code.google.com/p/jabacoframework…trings.java#128
http://code.google.com/p/jabacoframework…trings.java#135

So, now to all the other: Put your known bugs and bug-fixes for the Framework here in the thread.


Greatings
theuserbl

OlimilO

Intermediate

  • "OlimilO" is male

Posts: 277

Date of registration: Jan 18th 2009

Location: Germany

Occupation: software engineer

  • Send private message

2

Tuesday, July 21st 2009, 6:00pm

TextBox.Tooltip => VB.TextBox.ToolTipText; Label.BackStyle, .Textalign

Hi theuserbl ,

Quoted

So, now to all the other: Put your known bugs and bug-fixes for the Framework here in the thread.

good idea! I also found:
1. the property ToolTip of the Jabaco TextBox control, in the VB-TextBox it is ToolTipText

2. when opening a VB-project with Label-controls on it, the properties will not be imported correctly:

Backstyle (solid, transparent) and Textalign (left, center, right)


OlimilO

OlimilO

Intermediate

  • "OlimilO" is male

Posts: 277

Date of registration: Jan 18th 2009

Location: Germany

Occupation: software engineer

  • Send private message

3

Tuesday, July 21st 2009, 6:03pm

missing Datediff

kaindorfer found out Datediff is missing in class (module) DateTime

datediff

Rate this thread
WoltLab Burning Board