FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Question about bound array error in TwBrowse class
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Question about bound array error in TwBrowse class
Posted: Wed Mar 26, 2008 02: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. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Question about bound array error in TwBrowse class
Posted: Wed Mar 26, 2008 05: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
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Question about bound array error in TwBrowse class
Posted: 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. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Continue the discussion