Page 1 of 1

Question about bound array error in TwBrowse class

Posted: Wed Mar 26, 2008 2:32 pm
by driessen
Hello,

How can I prevent a bound array error to happen in a listbox ?

Let me explaine :

If I have build a listbox on my screen using an array, a procedure is changing the array.

Depending on the changes that are made, I sometimes get a bound array error.

How can I prevent this error ?
Can a listbox be disabled until the array has been changed ?

Thanks a lot in advance for any help.

Posted: Wed Mar 26, 2008 5:28 pm
by Antonio Linares
Michel,

You can do oBrw:cAlias = "" meanwhile you set the new array.

Then do:
oBrw:cAlias = "ARRAY"

Posted: Thu Mar 27, 2008 10:04 am
by driessen
Antonio,

Thanks for your answer.

I'll try it out.

Regards,