Minty23185Fresh
November 29th, 2017, 05:38
Here's the question: Can the dropdown list for a combobox "splash" outside of the combobox's container (window)?
Here are the details of the situation: For the Field Filters for All Libraries extension I am trying to implement a windowlist that will contain the field filters. That way if there are a large number of filters, as there are for the NPCs library, only a finite number are displayed at any one time and the user would use a scroll bar to access the others.
The way I have implemented it is: the windowlist contains a collection of "items". Each item is a window that contains a field name text box and a selection of filter choices, a combobox.
The drop down list of choices cannot splash out over the size of the containing window. So if the window containing the combobox is the same size as the combobox, the dropdown doesn't even show up, the control appears non-functional.
To solve this, when the combobox drops down, I dynamically resize the container (the window). It looks a bit funny, but it does work.
Back to the question: Is there a property, that I have overlooked, that would allow the combobox's dropdown to splash outsides of the containing window? (I would be surprised if there were such an option, because this would allow the drop down list to possibly fall outside the parent form, which would probably be bad, 'emkay?)
And because I like pictures (and diagrams) here they are:
There are three screenshots in this illustration. On the left is a diagram of the windows, subwindows and controls., In the center is my modified masterindex object for the NPCs library. Note the similarly to the current standard dialog, though there is some "blank real estate" at the bottom, which is the statically sized windowlist. The right panel shows how the "Type" field filter is relocated when the "CR" field filter's combobox is clicked. Room for the dropdown list is had by resizing the "CR" field filter's container.
21610
It would really be nice if I could just have the dropdown list splash over the top of the other controls and not have to resize some and relocate the others.
Here are the details of the situation: For the Field Filters for All Libraries extension I am trying to implement a windowlist that will contain the field filters. That way if there are a large number of filters, as there are for the NPCs library, only a finite number are displayed at any one time and the user would use a scroll bar to access the others.
The way I have implemented it is: the windowlist contains a collection of "items". Each item is a window that contains a field name text box and a selection of filter choices, a combobox.
The drop down list of choices cannot splash out over the size of the containing window. So if the window containing the combobox is the same size as the combobox, the dropdown doesn't even show up, the control appears non-functional.
To solve this, when the combobox drops down, I dynamically resize the container (the window). It looks a bit funny, but it does work.
Back to the question: Is there a property, that I have overlooked, that would allow the combobox's dropdown to splash outsides of the containing window? (I would be surprised if there were such an option, because this would allow the drop down list to possibly fall outside the parent form, which would probably be bad, 'emkay?)
And because I like pictures (and diagrams) here they are:
There are three screenshots in this illustration. On the left is a diagram of the windows, subwindows and controls., In the center is my modified masterindex object for the NPCs library. Note the similarly to the current standard dialog, though there is some "blank real estate" at the bottom, which is the statically sized windowlist. The right panel shows how the "Type" field filter is relocated when the "CR" field filter's combobox is clicked. Room for the dropdown list is had by resizing the "CR" field filter's container.
21610
It would really be nice if I could just have the dropdown list splash over the top of the other controls and not have to resize some and relocate the others.