|  | ComboBox dyslexia |  | |
| | | miquael |  |
| Posted: Fri Jul 18, 2008 12:41 am Post subject: ComboBox dyslexia |  |
How do I get control over how the ComboBox displays it's items upward or downward (after opening)? It appears that when I have a certain amount of items, then it automatically goes upward. If I have less items than it goes downward. But I'm not sure if this is directly connected to the invariance of upward and downward direction.
I have not been able to find any reference for this. Can anyone shed some insight on why this is happening and how to control it?
Much thanks! :confused; |
| |
| | | Munish |  |
| Posted: Fri Jul 18, 2008 4:06 am Post subject: Re: ComboBox dyslexia |  |
On Jul 17, 8:41 pm, "miquael" <webforumsu...@macromedia.com> wrote:
| Quote: | How do I get control over how the ComboBox displays it's items upward or downward (after opening)? It appears that when I have a certain amount of items, then it automatically goes upward. If I have less items than it goes downward. But I'm not sure if this is directly connected to the invariance of upward and downward direction.
|
A combo box by default always opens downward IF the height of the dropdown is within the bounds of the stage. That is to say, if you have a combo box situated near the bottom of your movie, and if opening the menu downward would cause ANY part of the menu to get cut off, it opens upward. So this is dependent on the y location of your box, and the number of rows it displays. |
| |
| | | DMennenoh **AdobeCommunit |  |
| Posted: Fri Jul 18, 2008 11:51 am Post subject: Re: ComboBox dyslexia |  |
It always tries to go down first. If it doesn't fit, then it opens up, so you can see all the available choices. I don't think you have control over that, but you can affect it somewhat by modifying the rowCount property, which is the number of visible items in the list.
-- Dave - LINK Head Developer LINK Adobe Community Expert LINK |
| |
|
|