Height of a Combobox

Height of a Combobox

Postby Detlef Hoefner » 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: Select all  Expand view
  @ 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
User avatar
Detlef Hoefner
 
Posts: 312
Joined: Sat Oct 08, 2005 9:12 am
Location: Germany

Re: Height of a Combobox

Postby Enrico Maria Giordano » Tue Apr 14, 2009 1: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
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Height of a Combobox

Postby Loach » Tue Apr 14, 2009 1: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
Loach
 
Posts: 41
Joined: Thu Dec 22, 2005 7:39 am
Location: Gomel, Belarus

Re: Height of a Combobox

Postby Detlef Hoefner » Tue Apr 14, 2009 1:59 pm

Enrico and Loach,

thank you both.
It's working now.

Regards,
Detlef
User avatar
Detlef Hoefner
 
Posts: 312
Joined: Sat Oct 08, 2005 9:12 am
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 87 guests