I’m hoping that someone can point me to examples on how to make use of ActiveCell and TextEdit as it applies to editing a listbox cell.
What I want is for a listbox cell to allow a user to enter text after a left click, or choose from a context menu after a right click, consistently.
What I end up with is that the context menu is not available if the cell is already active due to being left clicked. The user would then have to click a different cell, then come back to the desired cell, being careful to right click it this time, to get the context menu.
Any have any good deep dive / discussion in to this?
I’ve searched and think that the answer likely lies in how the active cell is treated as a textfield or textarea, I just don’t get how to harness that to get greater control I guess.
From the LR:
When a cell is editable, the ActiveCell property is the TextEdit that contains the contents of that cell. This may be a TextField or a TextArea depending on the specified column type. You can use this property to set or get the text of the Listbox cell, set the selection, or change other properties of the ListBox’s TextField or TextArea.
2018 r4, so api 1