the dgIndex of me, datagrids in LC 5.02

Klaus major-k klaus at major-k.de
Wed May 20 13:52:28 EDT 2020


Hi all,

looks like I could fix it.

> Am 20.05.2020 um 18:55 schrieb Klaus major-k via use-livecode <use-livecode at lists.runrev.com>:
> 
> Hi friends,
> 
> strange behavior here!?
> 
> I am working on a customers stack and have to use LC 5.02.
> 
> My customer has a big datagrid of type TABLE with a ComboBox
> menu button in it. This column has of course a custom behavior.
> 
> Since "menupick" is not triggered inside of this custom behavior
> I created a workaround and just call a handler in the behavior script
> with the selected menuitem as a parameter.
> Script of ComboBox:
> ---------------------------------

## Oviously the MOUSEDOWN in the behavir script had not been executed yet,
## so a little delay did the trick!?
> on menupick pChosenItem
  wait 1 with messages
> addmenudata pChosenItem
> end menupick
> ---------------------------------

Thank you for your comments so far! :-)


Best

Klaus

--
Klaus Major
https://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list