Question about bound array error in TwBrowse class

Question about bound array error in TwBrowse class

Postby driessen » Wed Mar 26, 2008 2:32 pm

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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Postby Antonio Linares » Wed Mar 26, 2008 5:28 pm

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
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby driessen » Thu Mar 27, 2008 10:04 am

Antonio,

Thanks for your answer.

I'll try it out.

Regards,
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 83 guests