Solved TD-20731: OutlineListbox cannot delete Child

Report TD 5.x and 6.x bugs and possible workarounds.
User avatar
H3PO4
Germany
Posts: 241
Joined: 10 Mar 2017, 07:53
Location: Rohlstorf, Germany

TD-20731: OutlineListbox cannot delete Child

Post by H3PO4 » 19 Mar 2014, 15:21

Hello Gupta Team,

having an OutlineListbox inside a FormToolbar, the delete Child function fails.

See my testcase, which shows two Listboxes
a) Listbox in FormToolbar
b) a Copy of a) just inside the Formwindow itself

With a click on the button next to a listbox, the child should be deleted and another entry should be loaded.

This only happens with the Listbox b).

Please check this bug. I would be glad to get an EMP-Fix for this issue. Thank you.

Best regards
Henning
You do not have the required permissions to view the files attached to this post.

VEspinal

Re: TD-20731: OutlineListbox cannot delete Child

Post by VEspinal » 21 Mar 2014, 23:23

Hi Henning:

Just to let you know that I was able to reproduce the issue and logged a defect TD-20731.

We will keep you updated on any news.

Thanks for the information.

Regards,
Victor Espinal

User avatar
H3PO4
Germany
Posts: 241
Joined: 10 Mar 2017, 07:53
Location: Rohlstorf, Germany

Re: TD-20731: OutlineListbox cannot delete Child

Post by H3PO4 » 24 Mar 2014, 11:36

Hello,

developers who run into this issue may use (as a workaround!) the following statement

Code: Select all

Call lbDirect.FreeChild( lvnDeleteItem )
just before using the DeleteChild-Function.

This is working for me at the moment - but Gupta, please fix the bug :-)!

I have not tested possible leaking yet...

Best regards
Henning
You do not have the required permissions to view the files attached to this post.

Return to “Bug Reports”

Who is online

Users browsing this forum: [Ahrefs], [Ccbot] and 1 guest