Thanks Jean-Pierre,
This really doesn't solve my problem. Maybe I should explain again.
If the front-panel has an array of strings, clicking on one element allows you to enter text. For this to work, the individual item has to have key focus. I want to be able to control key focus programatically (not highlighting as my question actually suggests - sorry for that). I want to do things in the reverse fashion to what you have done in your example. I want to give key focus to a different cell
clicking.
I found your example quite interesting, but I thought of a different (and for my liking much simpler) way. I know that the array element reference allows the code to give key focus to the last clicked item, which I have used here.
You can also use the "array element" item to get the X and Y coordinates and size of the item, facilitating your calculations similarly to before.
I have given up on the idea at this stage. It works with Tables, and something that works doesn't need repairing.
Cheers
Shane
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)