Array Browsing using TwBrowse (Standard)

Post Reply
Milan Mehta
Posts: 115
Joined: Mon Oct 17, 2005 4:42 am
Location: India

Array Browsing using TwBrowse (Standard)

Post by Milan Mehta »

Hello All,

I am developing a multi selection using two TwBrowse list box with add and remove buttons. One listbox working on table and other working on an array (containing selected items).

The problem is when user presses Remove button, I delete an element from array using ADEL. As a result the last element of array becomes NIL and TwBrowse gives error.

Is there any workaround ?

TIA
Milan.
Milan Mehta
Posts: 115
Joined: Mon Oct 17, 2005 4:42 am
Location: India

Re: Array Browsing using TwBrowse (Standard)

Post by Milan Mehta »

Dear Enrico,

Yes it does solve the problem. Thanks.

Milan.
EnricoMaria wrote:Use ASize() after ADel() to truncate the array.

EMG
Post Reply