Question about bound array error in TwBrowse class

Post Reply
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Question about bound array error in TwBrowse class

Post 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.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Michel,

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

Then do:
oBrw:cAlias = "ARRAY"
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Post by driessen »

Antonio,

Thanks for your answer.

I'll try it out.

Regards,
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Post Reply