> Hi,
> 
> Thanks to all your advice, it helped me writing a ToolTipTable class
> It may need some improvements but it basically works.
> [...]

Greetings!

Thank you Romain for your ToolTipTable! I could not check if it would improve
my application 'till today.... and... It fits perfectly!! :-D


I've only come across one issue: When I resize the columns, the "scroller"
variable will become undefined in the "mousemove" event handler.
So the following member access fails :

<code>
  ...
  var scroller = this.getTablePaneScrollerAtPageX(pageX);

  var row = scroller._getRowForPagePos(pageX, pageY);
  var col = scroller._getColumnForPageX(pageX);
  ...
</code>

but a simple "check-n-return" avoids any further errors (so far):

<code>
  ...
  var scroller = this.getTablePaneScrollerAtPageX(pageX);
  if (!scroller) {
    return; // avoid access violation
  }
  var row = scroller._getRowForPagePos(pageX, pageY);
  var col = scroller._getColumnForPageX(pageX);
  ...
</code>

Thank you again; and maybe we could continue to share our experiences with your
ToolTipTable further, so we can make it more stable.
Unfortunately I'm mainly busy with some other work these days, so don't expect
to many issue-reports from my side*.

/Kuddel

*) if there _are_ any issues left ;)


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to