FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Scroll in a Combobox array
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Scroll in a Combobox array
Posted: Fri May 11, 2012 10:37 PM
To All

I have created a large array that I am using in a combobox and I can not scroll through the elements.

Is there a way to be able to scroll up and down through the drop down box of the array .. the available choices seem to be limited to the top and the bottom of the displayed array.

Any Advice would be appreciated.

Thanks
Rick LipKin

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Scroll in a Combobox array
Posted: Fri May 11, 2012 11:36 PM
Hello Rick,





To define a combobox from Source, You can test a Style from Resource, go to text-mode and look
for the defined Style. Include it like :

@ 1,10 COMBOBOX oCombo1 var cCombo ITEMS aItems OF oDlg SIZE 100,60 PIXEL BITMAPS aBitMaps
oCombo1:SetFont( oFont )
oCombo1:nStyle := nOr (CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | ...... | ...)


Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: Scroll in a Combobox array
Posted: Sat May 12, 2012 12:56 PM

Uwe

Thanks for the the perfect answer! .. I have used comboboxes for years .. never looked at the resource and noticed the scroll bar option :o :o

Appreciate your help!

Rick Lipkin

Continue the discussion