Lawrence E Dietrich 6.Aug.03 01:21 PM a Web browser Domino Designer 6.0.1 All Platforms
I am presesenting a dialog box using the DialogBox method. I would like to highlight the entire contents of certain fields as the cursor enters the field (for quick replacement of existing value).
Here's my code:
Sub Entering(Source As Field)
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = workspace.CurrentDocument
This seems to work fine in an ordinary Notes document, but in the dialog box, it usually does not highlight anything. On the other hand, sometimes a field that does not even have any code in the Entering event DOES highlight itself!
Is it just something that won't work in a dialog? Is there a better way?