Page 1 of 1
Dynamic Picklist / Drop Down List in Windows
Posted: Tue Aug 08, 2023 11:52 pm
by atostaine
How can I specify DropDownCount when using field visualization? The combo box only shows 8 entries, I need to show much more.
https://docs.lansa.com/14/en/lansa016/P ... nCount.htm
Re: Dynamic Picklist / Drop Down List in Windows
Posted: Wed Aug 09, 2023 2:12 am
by Dino
Hi Art,
dynamic drop down does not have limit of number of entries?
are you referring to how many entries can you see at the time in the screen?
if you need more columns, you usually contact the values.
or create your own component instead of a drop down.
Re: Dynamic Picklist / Drop Down List in Windows
Posted: Wed Aug 09, 2023 2:28 am
by atostaine
Trying to change the number displayed when dropped down. Dynamic Picklist doesn't have DropDownCount.
I changed it to a VisualHost for now. I think that property should be available. Note I'm on V14 maybe it's in V15?
Here's my CMBX defintion
Define_Com Class(#PRIM_CMBX) Name(#ComboBox1) Componentversion(1) Displayposition(2) Fixedheight(False) Left(80) Parent(#COM_OWNER) Showselection(False) Showselectionhilight(False) Tabposition(1) Top(6) Width(289) Dropdowncount(20)
Re: Dynamic Picklist / Drop Down List in Windows
Posted: Wed Aug 09, 2023 2:55 am
by Dino
Hi Art
The component for the VisualPickList:
Code: Select all
Begin_Com Role(*Visual #PRIM_EVPL) Name(#VisualPicklist) Appearance(DropDownList) Height(19) ComponentVersion(1) Width(258)
do not have all the properties of a combobox
Code: Select all
Define_Com Class(#PRIM_CMBX) Name(#ComboBox1) ComponentVersion(1) DisplayPosition(1) FixedHeight(False) Left(58) Parent(#COM_OWNER) ShowSelection(False) ShowSelectionHilight(False) TabPosition(1) Top(31) DropDownCount(20)
even in V15 EPC150050, but that role (instead of class) *VISUAL #PRIM_EVPL can be more than a dropdown as you can see in the Appareance property, it is not just a combobox.

- forumdropdownprimevef.jpg (7.21 KiB) Viewed 22740 times
if you want to have the full possibility of the combobox, you need to have that in a reusable part and use the combobox, the sky is the limit in that way.
You can also open a case and request an enhancement.

- dropdowncount.jpg (334.55 KiB) Viewed 22740 times
Re: Dynamic Picklist / Drop Down List in Windows
Posted: Wed Aug 09, 2023 4:24 am
by atostaine
Yes I will probably request an enhancement. I’ve already changed to a regular RP.
If I choose another visualization are all of the properties available there that are available if I create my own say button set? My point is I think they left the dropdowncount out for some reason.