> Le 12 nov. 2019 à 09:22, rooftop99--- via 4D_Tech <[email protected]> a 
> écrit :
> 
> Hi All
> 
> I feel like a rookie, but here is the deal...
> 
> I have used array Listboxes many times with success.  A current project 
> requires the use of a Selection based listbox. How do I execute Cell level 
> logic?  For example:  Let’s say I want to create a simple “fill down" 
> function.  The user highlights several rows and right-clicks a one of the 
> cells on the top row, then chooses “Fill down” from the menu presented using 
> the command “Pop Up Menu”.  "ListBox Get Cell Position” command gives me the 
> row and column plus a pointer to the field clicked on.  With all that 
> information how do I get the value of the clicked on Cell (field) so I can 
> stuff it in a variable and how do I walk down every row (record) in the 
> highlighted selection and apply this value.

Hi, 
schematically, I do this:
  save selection
  use userset
  selection to array
  replace values in array
  array to selection
  use selection
  highlight userset

-- 
Arnaud de Montard 




**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to