Jump to content

unicombobox items


jahlxx

Recommended Posts

Hi,

 

Can you try this approach for now?!:

 

UniComboBox -> ClientEvents -> ExtEvents -> function beforerender:

function beforerender(sender, eOpts)
{
    sender.defaultListConfig.maxHeight = 50;
}

Best regards.

Link to comment
Share on other sites

  • 7 months later...

Hi.

 

I have 2 more questions about unicombobox:

 

1. How can give a custom witwd when the combo is displayed?

 

2. When I set a value tothe text property, in run  time, the combo value is not refreshed. How can I do?

 

Thanks.

Link to comment
Share on other sites

Hi,

 

1. How can give a custom witwd when the combo is displayed?
 
Custom width ?!
 

 

2. When I set a value tothe text property, in run  time, the combo value is not refreshed. How can I do?

 

Make a testcase, how do you do that ?

Link to comment
Share on other sites

Ok.

 

Works. But I think could be better as a property of yhe unicombobox. Is only an idea.

 

About the 2nd. question, just take the combotrig demo, and do these changes:

 

in combo's items put this:

 

A - letter a
B - letter b
C - letter c
D - letter d
E - letter e
 

 

And in the mainform onshow event, this line:

 

unicombobox1.text := 'D';
 

I think that because D match an item of the combox, the text should be updated automatically to "D - letter d"

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...