FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Scroll, and Highlight in listbox control.
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Scroll, and Highlight in listbox control.
Posted: Fri Apr 04, 2014 07:14 PM

All,

We are working on a incremental search addition to the get system where it will drop down a list box from the get and fill this listbox with up to 5 possible entries for the user to select from. This is very similar to the way Google Chrome, or the Get File Dialog in windows 7. So if you type in 'DO' the system may list "DOUG", "DOUG'S", "DOUNG" ...

This part is working fine, what we cannot figure out is how to turn on, and off the highlight bar, or turn or off the scrollbar.

How is this accomplished. Is this possible in a list box?

Thanks,

Byron ..

Thanks,

Byron Hopp

Matrix Computer Services
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Re: Scroll, and Highlight in listbox control.
Posted: Sat Apr 05, 2014 08:33 PM

Doesn't Listbox inherit from Control, which inherits from Window, so is there some way to and and remove the highlight bar, or the scrollbar.

Anybody?

Thanks,

Byron Hopp

Matrix Computer Services
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Scroll, and Highlight in listbox control.
Posted: Sun Apr 06, 2014 06:35 AM

Byron,

Please try oListBox:Select( 0 )

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Re: Scroll, and Highlight in listbox control.
Posted: Sun Apr 06, 2014 03:31 PM

Thanks Antonio, however when I perform the Select(0) it sets the nItem to 0 and has an array problem with aItems. I did learn as I was trying to implement your suggestion that using Multi lets it display initially with no highlight bar. I will play with this and see where it takes me.

Byron...

Thanks,

Byron Hopp

Matrix Computer Services

Continue the discussion