xTuple.com xTupleU Blog & News Customer Support

taskList - doubleClick

I am using version 5.1 windows and trying to override the taskList doubleClick on a row item.

I first disconnected

toolbox.coreDisconnect(list,“itemSelected”,this,“sOpen”);

and then connected to my own function

list[“itemSelected(int)”].connect(CheckOpen);

the problem is that before the CheckOpen() function is called, the task window is opened.
( I have a check point on the first line in the CheckOpen() function)

Is my disconnect incorrect?

Try:

toolbox.coreDisconnect(list, "itemSelected(int)", mywindow, "sOpen()");

Hi david

You are right and thank you.

My error was the “ , changed to "

Ah, seems that the forum is using prettifying the block-text. Glad you got it sorted.

edit: I edited the original post so it uses the normal quote character. Thanks for pointing that out.

1 Like

Everything works fine now David, thank uoi