I have a List View Control on a form for which I want to 'goto' any of the fields (under conditions determined by program control) and allow the user to edit the text in that field and when finished typing (eg. <enter> key) I can go back into program control with possibly an AfterUpdate event.
I know I can identify the required 'field' on the List View Control using Me!cControlName.listitems(index) or Me!cControlName.listitems(itemindex).ListSubItems(fieldindex), but how do I 'goto' it awaiting for the user to type the text and hit <enter>.
If it's not possible to 'goto' the field in the style that I've described above, I thought it might be possible to place a Text Box (using position and size information derived from the relevant 'field' properties) over the top of the field on the List View Control. Programatically this works fine (and should look to the user as if they are actually typing into the field on the List View Control) ... but the Text Box is obscurred by the List View Control and can't be seen by the user - how do I bring it to the front?
Thanks for your thoughts on this ... Tony
|
|