DropDown reusable part Number of Rows displayed
Posted: Wed Jan 31, 2018 8:10 am
I've included a a dynamic DropDown reusable part on my screen. There is a DropDownCount parameter that appears to default to 8. When the number of rows returned is at least 8, then 8 rows are displayed in the DropDown (as expected). However, when the reusable part returns less than 8 rows, the DropDown list only expands far enough to show a subset of the list (specifically one row less than the number of rows returned). For example, if the DropDown contains 3 entries, only 2 are displayed. The user is forced to always scroll to see the entire list. When such a small number of rows are returned, I'd like to display them all so the user does not have scroll to see them all.
Is the number of rows or height of the DropDown something I can control?
Define_Com Class(#PRIM_LABL) Name(#Label1) Displayposition(1) Ellipses(Word) Height(24) Left(0) Parent(#COM_OWNER) Tabposition(2) Tabstop(False) Top(0) Verticalalignment(Center) Width(100) Caption('Sub-Type')
Define_Com Class(#PRIM_LIST.DropDown) Name(#SubType_DD) Columnheaderheight(0) Columnlines(False) Displayposition(2) Left(100) Parent(#COM_OWNER) Rowlines(False) Showselection(False) Tabposition(1) Top(0) Width(270) Height(21)
Define_Com Class(#PRIM_LIST.String) Name(#ColumnPSAR151) Columnunits(Proportion) Columnwidth(1) Displayposition(2) Parent(#SubType_DD) Source(#PSAR15) Visible(False)
Define_Com Class(#PRIM_LIST.String) Name(#ColumnPRMD151) Columnwidth(280) Displayposition(1) Parent(#SubType_DD) Source(#PRMD15)
Is the number of rows or height of the DropDown something I can control?
Define_Com Class(#PRIM_LABL) Name(#Label1) Displayposition(1) Ellipses(Word) Height(24) Left(0) Parent(#COM_OWNER) Tabposition(2) Tabstop(False) Top(0) Verticalalignment(Center) Width(100) Caption('Sub-Type')
Define_Com Class(#PRIM_LIST.DropDown) Name(#SubType_DD) Columnheaderheight(0) Columnlines(False) Displayposition(2) Left(100) Parent(#COM_OWNER) Rowlines(False) Showselection(False) Tabposition(1) Top(0) Width(270) Height(21)
Define_Com Class(#PRIM_LIST.String) Name(#ColumnPSAR151) Columnunits(Proportion) Columnwidth(1) Displayposition(2) Parent(#SubType_DD) Source(#PSAR15) Visible(False)
Define_Com Class(#PRIM_LIST.String) Name(#ColumnPRMD151) Columnwidth(280) Displayposition(1) Parent(#SubType_DD) Source(#PRMD15)