FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Height of a Combobox
Posts: 312
Joined: Sat Oct 08, 2005 09:12 AM
Height of a Combobox
Posted: Tue Apr 14, 2009 11:01 AM
Hi all,

i don't know what could be the reason that a combobox on some computers does not open itself to a dropdown list.

here my code:
Code (fw): Select all Collapse
   @ 4, 2  COMBOBOX oMonth VAR cMonth ITEMS aMonth OF oDlg ;
            SIZE 35, 12 PIXEL


As i wrote, on some PCs it works on others it remains closed, i can select my items with the mousewheel.

Can someone give me a hint?
Thanks and regards,
Detlef
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Height of a Combobox
Posted: Tue Apr 14, 2009 01:24 PM
Detlef Hoefner wrote:SIZE 35, 12 PIXEL


Try increasing 12 to something bigger. It's the total height not the height of the edit box.

EMG
Posts: 41
Joined: Thu Dec 22, 2005 07:39 AM
Re: Height of a Combobox
Posted: Tue Apr 14, 2009 01:31 PM

usually I use:
SIZE 150,Max( 200, Len( aMonth ) * 25 )

Best regards!

Sergey (Loach) Abelev

fwh 9.04/xHarbour 1.2.1 (Rev. 6406)/Bcc55
Posts: 312
Joined: Sat Oct 08, 2005 09:12 AM
Re: Height of a Combobox
Posted: Tue Apr 14, 2009 01:59 PM

Enrico and Loach,

thank you both.
It's working now.

Regards,
Detlef

Continue the discussion