09-22-2020 10:51 PM - edited 09-22-2020 10:55 PM
Hi,
I have tree control which is displaying the data from multiple MCU registers. Registers have children tags (register fields) and some of the children tags have duplicated names (shown below with red):
When reading the registers values I'm updating the whole table and I want to keep the selected row over the same item and also show it on the screen - in this case <Ensure Visible> is scrolling the tree to the desired tag.
And here is the problem - if I selected some of the children tags which doesn't have unique name (it's repeating several times in the table) and if the table was updated - <Ensure Visible> is pushing the screen onto the first occurrence of this tag and not the tag I selected.
Any ideas how I can solve this problem will be appreciated. Thanks.
09-22-2020 11:09 PM
Just found a working solution - by using <Top Left Visible Cell> the table correctly shows the desired row on top. Not sure if this is the best solution
Any ideas for improvements are welcomed.