Re: ListBox - Possible to set choice list programmatically?

2019-11-11 Thread rooftop99--- via 4D_Tech
Miyako, I hope you live forever!! This solution worked perfectly. Thanks, Kirk > On Nov 11, 2019, at 1:50 AM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > https://doc.4d.com/4Dv16/4D/16.6/OBJECT-SET-LIST-BY-NAME.301-4445051.en.html >

Re: ListBox - Possible to set choice list programmatically?

2019-11-11 Thread Jody Bevan via 4D_Tech
Kirk: There are two ways that we accomplish what you are thinking of. Well actually only one, and the other is the work around. To have a popup icon automatically show in the cell, you need to have 4D View Pro active. This will permit this type of object along with many others. If you use 4D

Re: ListBox - Possible to set choice list programmatically?

2019-11-11 Thread rooftop99--- via 4D_Tech
Thank you Kirk and Miyako! Excellent suggestions I will investigate. Kirk, I am already using the "pop up menu” command in this particular listbox to support various functions. (Super useful) However, I was hoping to use the “built-in” Choice List because It has a nice little dropdown icon

Re: ListBox - Possible to set choice list programmatically?

2019-11-11 Thread Kirk Brooks via 4D_Tech
Hi Kirk, I like to create menus the user invokes with a right click for this sort of thing. Enable the On click event in the listbox to catch it anywhere in the column (let's you create a menu with content specific to the cell, column or row clicked on) or use the On header click event to open

Re: ListBox - Possible to set choice list programmatically?

2019-11-11 Thread Keisuke Miyako via 4D_Tech
https://doc.4d.com/4Dv16/4D/16.6/OBJECT-SET-LIST-BY-NAME.301-4445051.en.html https://doc.4d.com/4Dv16/4D/16.6/OBJECT-SET-LIST-BY-REFERENCE.301-4445040.en.html there was a trick to refresh the list but I can't find the article (forums) right now 2019/11/11 17:43、rooftop99--- via 4D_Tech

ListBox - Possible to set choice list programmatically?

2019-11-11 Thread rooftop99--- via 4D_Tech
Hi All, When creating a ListBox in the 4D form editor it is possible to select a single column and then set attributes for Choice List, Required List, and Excluded list. This creates drop-down menus in each cell of that column. When creating a Listbox column programmatically I don’t see a